We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
App updated. Recompiling...
1 parent 22f18eb commit e084822Copy full SHA for e084822
lib/Server.js
@@ -228,11 +228,8 @@ class Server {
228
};
229
230
const addHooks = (compiler) => {
231
- const { compile, invalid, done } = compiler.hooks;
232
-
233
- compile.tap('webpack-dev-server', invalidPlugin);
234
- invalid.tap('webpack-dev-server', invalidPlugin);
235
- done.tap('webpack-dev-server', (stats) => {
+ compiler.hooks.invalid.tap('webpack-dev-server', invalidPlugin);
+ compiler.hooks.done.tap('webpack-dev-server', (stats) => {
236
this.sendStats(this.webSocketConnections, this.getStats(stats));
237
this.stats = stats;
238
});
0 commit comments