add cwd to pm2 args
This commit is contained in:
parent
6bc123be1f
commit
b5f5d8768c
1 changed files with 2 additions and 1 deletions
3
cli
3
cli
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue