diff --git a/nico.js b/nico.js index c973f1d2eb..811cf915d9 100644 --- a/nico.js +++ b/nico.js @@ -38,7 +38,9 @@ exports.middlewares = [{ handler = handler || webpackMiddleware(webpackCompiler, { publicPath: '/dist/', lazy: false, - watchDelay: 300, + watchOptions: { + aggregateTimeout: 300 + }, stats: { hash: false, cached: false, diff --git a/package.json b/package.json index 959052b0cc..e294dd4168 100644 --- a/package.json +++ b/package.json @@ -45,8 +45,8 @@ "nico-jsx": "~0.5.8", "precommit-hook": "~1.0.7", "style-loader": "~0.12.2", - "webpack": "~1.9.7", - "webpack-dev-middleware": "~1.0.11" + "webpack": "~1.10.1", + "webpack-dev-middleware": "~1.2.0" }, "scripts": { "babel": "babel components --out-dir lib",