use pm2-runtime

pull/33/head
unknown 2019-04-23 16:47:34 -04:00
parent 9f832a6b9b
commit bb36ff67dc
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@
"build:dev": "webpack --mode development",
"build:prod": "webpack --mode production",
"clean": "rimraf .tmp && mkdirp .tmp/public",
"forever": "./node_modules/.bin/pm2 start ecosystem.config.js --env production",
"stop": "./node_modules/.bin/pm2 delete roe-base",
"forever": "./node_modules/.bin/pm2-runtime start ecosystem.config.js --env production",
"stop": "./node_modules/.bin/pm2-runtime delete roe-base",
"test": "npm run lint && npm run custom-tests && echo 'Done.'",
"lint": "standard && echo '✔ Your .js files look good.'",
"debug": "node --inspect app.js",