From 840cac7435da21b764465d40194f53637395d2b7 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Fri, 2 Dec 2016 02:24:12 +0800 Subject: [PATCH] Add delay to throttle nodemon in dev script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",