Skip to content

Commit 43173a7

Browse files
authored
Merge pull request webpack#3385 from webpack/bugfix/event-leak
fixes typo, fixes webpack#3379
2 parents c356619 + 287eb18 commit 43173a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/webpack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ function processOptions(options) {
314314
lastHash = stats.hash;
315315
process.stdout.write(stats.toString(outputOptions) + "\n");
316316
}
317-
if(!options.doWatch && stats.hasErrors()) {
317+
if(!options.watch && stats.hasErrors()) {
318318
process.on("exit", function() {
319319
process.exit(2); // eslint-disable-line
320320
});

0 commit comments

Comments
 (0)