Skip to content

Commit 61ae59f

Browse files
authored
Merge branch 'main' into feat/webpack-tsconfig.app.json-support
2 parents 98f226b + 6059984 commit 61ae59f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/webpack5/src/plugins/WatchStatePlugin.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,9 @@ export class WatchStatePlugin {
4949
isWatchMode ? messages.startWatching : messages.compilationComplete
5050
);
5151

52-
// Do not notify the CLI if the compilation failed
5352
const stats = compilation.getStats();
5453
if (stats.hasErrors()) {
55-
return;
54+
env.verbose && console.log(`[${id}] Warn: Compilation had errors!`);
5655
}
5756

5857
// logic taken from CleanWebpackPlugin

0 commit comments

Comments
 (0)