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.
2 parents 98f226b + 6059984 commit 61ae59fCopy full SHA for 61ae59f
packages/webpack5/src/plugins/WatchStatePlugin.ts
@@ -49,10 +49,9 @@ export class WatchStatePlugin {
49
isWatchMode ? messages.startWatching : messages.compilationComplete
50
);
51
52
- // Do not notify the CLI if the compilation failed
53
const stats = compilation.getStats();
54
if (stats.hasErrors()) {
55
- return;
+ env.verbose && console.log(`[${id}] Warn: Compilation had errors!`);
56
}
57
58
// logic taken from CleanWebpackPlugin
0 commit comments