Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Sep 18, 2020
1 parent 57729bc commit 6021ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webpack-cli/lib/utils/Compiler.js
Expand Up @@ -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.');
}

Expand Down

0 comments on commit 6021ee3

Please sign in to comment.