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.
1 parent e0d3e9e commit 4799c42Copy full SHA for 4799c42
lib/Server.js
@@ -362,6 +362,11 @@ class Server {
362
*/
363
364
this.currentHash = undefined;
365
+ /**
366
+ * @private
367
+ * @type {boolean}
368
+ */
369
+ this.isPlugin = false;
370
}
371
372
static get schema() {
@@ -2362,7 +2367,7 @@ class Server {
2362
2367
// @ts-expect-error
2363
2368
this.compiler,
2364
2369
this.options.devMiddleware,
2365
- true,
2370
+ this.isPlugin,
2366
2371
);
2372
2373
@@ -3436,6 +3441,7 @@ class Server {
3436
3441
3437
3442
apply(compiler) {
3438
3443
this.compiler = compiler;
3444
+ this.isPlugin = true;
3439
3445
this.logger = this.compiler.getInfrastructureLogger(pluginName);
3440
3446
3447
this.compiler.hooks.watchRun.tapPromise(pluginName, async () => {
0 commit comments