add cwd to pm2 args

This commit is contained in:
Todd Treece 2016-11-15 17:00:53 -05:00
parent 6bc123be1f
commit b5f5d8768c

3
cli
View file

@ -19,7 +19,8 @@ function start() {
pm2.start({
script: 'index.js',
name: 'xcarve'
name: 'xcarve',
cwd: process.cwd()
}, (err, apps) => {
pm2.disconnect();
if (err) throw err