Commit dde61c7ceafeca396a27eedc4a998e7d030c1c1a
1 parent
bfe3e6e0
Exists in
master
update package
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
package.json
... | ... | @@ -7,8 +7,8 @@ |
7 | 7 | "test": "mocha unitTest", |
8 | 8 | "start": "npm run test && node app.js", |
9 | 9 | "gentest": "mocha unitTest && NODE_ENV=gentest node app.js", |
10 | - "pullpm2": "git stash && git pull && npm install && pm2 restart app.js --name=hospital ", | |
11 | - "pull": "git stash && git pull && npm install && pm2 stop hospital && npm run start " | |
10 | + "pullpm2": "git stash && git pull && npm install && pm2 stop --silent hospital && pm2 start app.js --name=hospital ", | |
11 | + "pull": "git stash && git pull && npm install && pm2 stop --silent hospital && npm run start " | |
12 | 12 | }, |
13 | 13 | "author": "Source Code", |
14 | 14 | "license": "ISC", | ... | ... |