Add delay to throttle nodemon in dev script

This commit is contained in:
Wu Cheng-Han 2016-12-02 02:24:12 +08:00
parent a73d9ce39e
commit 840cac7435

View file

@ -5,7 +5,7 @@
"main": "app.js", "main": "app.js",
"license": "MIT", "license": "MIT",
"scripts": { "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", "build": "webpack --config webpack.production.js --progress --colors",
"assets:install": "bower install", "assets:install": "bower install",
"postinstall": "bin/heroku", "postinstall": "bin/heroku",