Skip to content

Commit 3810829

Browse files
committed
fixed MultiCompiler with watching
1 parent 01cc21d commit 3810829

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lib/MultiCompiler.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,12 @@ function MultiCompiler(compilers) {
6363
}
6464
}.bind(this));
6565
compiler.plugin("invalid", function() {
66+
if(compilerDone) {
67+
compilerDone = false;
68+
doneCompilers--;
69+
}
6670
this.applyPlugins("invalid");
67-
});
71+
}.bind(this));
6872
}, this);
6973
}
7074
module.exports = MultiCompiler;

0 commit comments

Comments
 (0)