From 6021ee3518d184da78d87da57ec72b52a968c350 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Fri, 18 Sep 2020 15:54:17 +0530 Subject: [PATCH] fix: ci --- packages/webpack-cli/lib/utils/Compiler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webpack-cli/lib/utils/Compiler.js b/packages/webpack-cli/lib/utils/Compiler.js index bc8848c414e..a54ef851325 100644 --- a/packages/webpack-cli/lib/utils/Compiler.js +++ b/packages/webpack-cli/lib/utils/Compiler.js @@ -118,7 +118,7 @@ class Compiler { } //warn the user if bail and watch both are used together - if (this.compiler.options.bail && this.compiler.watch) { + if (!this.compiler.compilers && this.compiler.options.bail && this.compiler.watch) { logger.warn('You are using "bail" with "watch". "bail" will still exit webpack when the first error is found.'); }