lazy middleware webpack for debug

This commit is contained in:
afc163 2015-07-06 15:12:11 +08:00
parent 0f3b3253e1
commit d3dd4f6e70

View File

@ -37,10 +37,7 @@ exports.middlewares = [{
handle: function(req, res, next) {
handler = handler || webpackMiddleware(webpackCompiler, {
publicPath: '/dist/',
lazy: false,
watchOptions: {
aggregateTimeout: 300
},
lazy: true,
stats: {
hash: false,
cached: false,