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 e6864e4 commit 13581eeCopy full SHA for 13581ee
lib/Compilation.js
@@ -1071,15 +1071,15 @@ class Compilation {
1071
context
1072
},
1073
err => {
1074
- if (this.bail) {
+ if (err && this.bail) {
1075
callback(err);
1076
this.buildQueue.stop();
1077
this.rebuildQueue.stop();
1078
this.processDependenciesQueue.stop();
1079
this.factorizeQueue.stop();
1080
- return;
+ } else {
1081
+ callback();
1082
}
- callback();
1083
1084
);
1085
0 commit comments