From 6340b875b5f5ff95e6ba0929fb9138149607e296 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 15 Jun 2015 15:52:31 +0800 Subject: [PATCH] update watch config --- package.json | 2 +- webpack.config.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 44b553de56..11d11eae5a 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ }, "scripts": { "build": "npm run clean && webpack && nico build", - "start": "npm run clean && concurrent -r 'webpack -w --watch-aggregate-timeout 0' 'nico server --watch'", + "start": "npm run clean && concurrent -r 'webpack -w' 'nico server --watch'", "clean": "rm -rf _site", "deploy": "npm run build && gh-pages -d _site -b gh-pages", "lint": "eslint components index.js --ext '.js,.jsx'", diff --git a/webpack.config.js b/webpack.config.js index b3f9634281..91134656d3 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -43,7 +43,8 @@ module.exports = { }, plugins: [ - new ExtractTextPlugin('[name].css') + new ExtractTextPlugin('[name].css'), + new webpack.NewWatchingPlugin() ], devtool: '#source-map'