Skip to content

Commit

Permalink
[CE-211] Change to pm2 for start express service
Browse files Browse the repository at this point in the history
Change-Id: I23cac0b4500d27cea50fe8d282845f36def1c7c4
Signed-off-by: Haitao Yue <hightall@me.com>
  • Loading branch information
hightall committed Dec 29, 2017
1 parent 7228fb3 commit 10f6e49
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions user-dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,13 @@
"babel-preset-stage-0": "^6.5.0",
"babel-plugin-transform-runtime": "^6.0.0",
"eslint": "^3.1.1",
"pm2": "^2.9.1",
"nodemon": "^1.12.1"
},
"scripts": {
"start": "node dist",
"start": "pm2 start dist/index.js -i max",
"build": "babel src -s --ignore src/public -D -d dist && cp -r src/public dist/",
"dev": "nodemon src/index.js --exec \"babel-node src\"",
"dev": "pm2 --interpreter babel-node start src/index.js --no-daemon --watch",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "hightall",
Expand Down

0 comments on commit 10f6e49

Please sign in to comment.