Skip to content

Commit 840cac7

Browse files
committed
Add delay to throttle nodemon in dev script
1 parent a73d9ce commit 840cac7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "app.js",
66
"license": "MIT",
77
"scripts": {
8-
"dev": "webpack --config webpack.config.js --progress --colors --watch & nodemon app.js",
8+
"dev": "webpack --config webpack.config.js --progress --colors --watch & nodemon --delay 1 app.js",
99
"build": "webpack --config webpack.production.js --progress --colors",
1010
"assets:install": "bower install",
1111
"postinstall": "bin/heroku",

0 commit comments

Comments
 (0)