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 6ded275 commit 6d8fb67Copy full SHA for 6d8fb67
bin/cli.js
@@ -487,10 +487,8 @@ For more information, see https://webpack.js.org/api/cli/.`);
487
process.stdin.resume();
488
}
489
compiler.watch(watchOptions, compilerCallback);
490
- if (compiler.close) {
491
- compiler.close(compilerCallback);
492
- }
493
if (outputOptions.infoVerbosity !== "none") console.error("\nwebpack is watching the files…\n");
+ if (compiler.close) compiler.close(compilerCallback);
494
} else {
495
compiler.run(compilerCallback);
496
if (compiler.close) {
0 commit comments