mirror of https://github.com/webpack/webpack.git
parent
99bd9b969f
commit
69b5e548d5
|
|
@ -313,7 +313,9 @@ module.exports = function(optimist, argv, convertOptions) {
|
||||||
ifBooleanArg("hot", function() {
|
ifBooleanArg("hot", function() {
|
||||||
ensureArray(options, "plugins");
|
ensureArray(options, "plugins");
|
||||||
var HotModuleReplacementPlugin = require("../lib/HotModuleReplacementPlugin");
|
var HotModuleReplacementPlugin = require("../lib/HotModuleReplacementPlugin");
|
||||||
options.plugins.push(new HotModuleReplacementPlugin());
|
options.plugins.push(new HotModuleReplacementPlugin({
|
||||||
|
multiStep: true
|
||||||
|
}));
|
||||||
});
|
});
|
||||||
|
|
||||||
mapArgToBoolean("debug");
|
mapArgToBoolean("debug");
|
||||||
|
|
|
||||||
|
|
@ -421,6 +421,6 @@ module.exports = function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
hotSetStatus("idle");
|
hotSetStatus("idle");
|
||||||
Promise.resolve(outdatedModules);
|
return Promise.resolve(outdatedModules);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue