Add nodemon config and watch command
Showing
nodemon.json
0 → 100644
This diff is collapsed.
| ... | @@ -9,7 +9,8 @@ | ... | @@ -9,7 +9,8 @@ |
| "dev": "NODE_ENV=development npm-run-all server", | "dev": "NODE_ENV=development npm-run-all server", | ||
| "clean": "rimraf dist", | "clean": "rimraf dist", | ||
| "build": "babel ./src --out-dir dist", | "build": "babel ./src --out-dir dist", | ||
| "prod": "NODE_ENV=production npm-run-all clean build server:prod" | "prod": "NODE_ENV=production npm-run-all clean build server:prod", | ||
| "watch": "nodemon" | |||
| }, | }, | ||
| "dependencies": { | "dependencies": { | ||
| "cookie-parser": "~1.4.3", | "cookie-parser": "~1.4.3", | ||
| ... | @@ -23,6 +24,7 @@ | ... | @@ -23,6 +24,7 @@ |
| "@babel/cli": "^7.2.3", | "@babel/cli": "^7.2.3", | ||
| "@babel/core": "^7.2.2", | "@babel/core": "^7.2.2", | ||
| "@babel/node": "^7.2.2", | "@babel/node": "^7.2.2", | ||
| "@babel/preset-env": "^7.3.1" | "@babel/preset-env": "^7.3.1", | ||
| "nodemon": "^1.18.9" | |||
| } | } | ||
| } | } |
Please register or sign in to comment