Closed
Description
Steps to reproduce:
- Run webpack with --watch
- Break a file in two places (error is reported)
- Fix one of the problems (error isn't reported, only clue is that webpack didn't create the final bundle)
- Fix the other error (bundle is created)
At this point, a new error will be reported (i.e. steps 2 through 4 can be repeated indefinitely).
I've done a bit of snooping around, but I'm not sure what the appropriate fix is. The after-compile
plugin callback is called and cache.errors
is populated, but just adding it to compilation.errors
apparently isn't enough to tell webpack to display it.