Skip to content

Commit 287eb18

Browse files
authored
fixes typo, fixes webpack#3379
1 parent c356619 commit 287eb18

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)