Skip to content

Commit 8779d93

Browse files
committed
Update prod:stop command
1 parent b6c4a3f commit 8779d93

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tutorial/03-express-nodemon-pm2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ Let's update our `package.json` like so:
197197
"dev:start": "nodemon --ignore lib --exec babel-node src/server",
198198
"prod:build": "rimraf lib && babel src -d lib --ignore .test.js",
199199
"prod:start": "cross-env NODE_ENV=production pm2 start lib/server && pm2 logs",
200-
"prod:stop": "pm2 delete all",
200+
"prod:stop": "pm2 delete server",
201201
"test": "eslint src && flow && jest --coverage",
202202
"precommit": "yarn test",
203203
"prepush": "yarn test"

tutorial/04-webpack-react-hmr.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Let's update our `scripts` to implement all this, and improve some other tasks a
103103
"dev:wds": "webpack-dev-server --progress",
104104
"prod:build": "rimraf lib dist && babel src -d lib --ignore .test.js && cross-env NODE_ENV=production webpack -p --progress",
105105
"prod:start": "cross-env NODE_ENV=production pm2 start lib/server && pm2 logs",
106-
"prod:stop": "pm2 delete all",
106+
"prod:stop": "pm2 delete server",
107107
"lint": "eslint src webpack.config.babel.js --ext .js,.jsx",
108108
"test": "yarn lint && flow && jest --coverage",
109109
"precommit": "yarn test",

0 commit comments

Comments
 (0)