Fix pm2 run scripts

This commit is contained in:
Juan Tejada 2016-07-11 15:46:52 -07:00
parent 960dbdeb8f
commit d4cd2510db

View file

@ -27,9 +27,9 @@
"sqlite3": "https://github.com/bengotow/node-sqlite3/archive/bengotow/usleep-v3.1.4.tar.gz"
},
"scripts": {
"start": "pm2 start ./pm2-dev.yml --watch; pm2 logs --raw | bunyan -o short",
"start": "pm2 kill && pm2 start ./pm2-dev.yml --watch && pm2 logs --raw | bunyan -o short",
"logs": "pm2 logs --raw | bunyan -o short",
"stop": "pm2 stop all",
"stop": "pm2 kill",
"postinstall": "lerna bootstrap"
},
"repository": {