Add npm run restart

This commit is contained in:
Evan Morikawa 2016-07-11 11:48:54 -07:00
parent 98c17c9780
commit c0d7902f9f

View file

@ -30,6 +30,7 @@
"start": "pm2 start ./pm2-dev.yml; pm2 logs --raw | bunyan -o short", "start": "pm2 start ./pm2-dev.yml; pm2 logs --raw | bunyan -o short",
"logs": "pm2 logs --raw | bunyan -o short", "logs": "pm2 logs --raw | bunyan -o short",
"stop": "pm2 delete all", "stop": "pm2 delete all",
"restart": "npm run stop && npm run start",
"postinstall": "lerna bootstrap" "postinstall": "lerna bootstrap"
}, },
"repository": { "repository": {