summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorWu Cheng-Han2016-12-02 02:24:12 +0800
committerWu Cheng-Han2016-12-02 02:24:12 +0800
commit840cac7435da21b764465d40194f53637395d2b7 (patch)
tree3a6775e4f877529b446dd34a0ac3682e24c05528 /package.json
parenta73d9ce39e2107b2a9628003f05900d4a641bee5 (diff)
Add delay to throttle nodemon in dev script
Diffstat (limited to '')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index 6fbd1d82..e6bd2c5d 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
"main": "app.js",
"license": "MIT",
"scripts": {
- "dev": "webpack --config webpack.config.js --progress --colors --watch & nodemon app.js",
+ "dev": "webpack --config webpack.config.js --progress --colors --watch & nodemon --delay 1 app.js",
"build": "webpack --config webpack.production.js --progress --colors",
"assets:install": "bower install",
"postinstall": "bin/heroku",