You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use Webpack with a custom loader (fable-loader) together with Visual Studio Code tasks so the custom loader can highlight warnings and errors directly in the IDE. This is already working fine for single compilations, but not so well in watch compilations. The reason is VS Code task configuration requires both beginsPattern and endsPattern of a watch compilation in the output. However I cannot get Webpack to output a message at the end of a watch compilation after all warnings and errors have been displayed. (I've asked in Webpack forum and StackOverflow but didn't get a reply.)
Would it be possible to make the endsPattern optional? In this case, every time the beginsPattern occurs, VS Code would just reset all errors and warnings previously reported by the task an start over. That would be perfect for my use case.
Thanks a lot for your support and for the great tool!
Edvin Syse (@edvin) It's not a feature in the sense you activate or deactivate it. Also, I couldn't find it in the Webpack releases. I just noticed that in latest Webpack version (2.4.1) when compiling in watch mode you get the following messages at the start and the end of each recompilation:
Alfonso Garcia-Caro (@alfonsogarciacaro) , thx but I see those two messages only in webpack-dev-server and not in webpack --watch. And also, error messages (in my case for ts-loader or awesome-typescript-loader) are generated after "webpack: Compiled Successfully", so no way to detect compalation end.
Activity
alfonsogarciacaro commentedon Jun 16, 2017
Finally webpack is outputting messages at the start and end of recompilations so this can be closed :)
edvinv commentedon Jun 17, 2017
Alfonso Garcia-Caro (@alfonsogarciacaro) , can you please provide link to this webpack feature.
alfonsogarciacaro commentedon Jun 17, 2017
Edvin Syse (@edvin) It's not a feature in the sense you activate or deactivate it. Also, I couldn't find it in the Webpack releases. I just noticed that in latest Webpack version (2.4.1) when compiling in watch mode you get the following messages at the start and the end of each recompilation:
edvin commentedon Jun 17, 2017
Wrong edvin Alfonso Garcia-Caro (@alfonsogarciacaro) - pinging Edvin Vidmar (@edvinv) just in case :)
alfonsogarciacaro commentedon Jun 17, 2017
Ups, sorry! 😅
edvinv commentedon Jul 24, 2017
Alfonso Garcia-Caro (@alfonsogarciacaro) , thx but I see those two messages only in webpack-dev-server and not in webpack --watch. And also, error messages (in my case for ts-loader or awesome-typescript-loader) are generated after "webpack: Compiled Successfully", so no way to detect compalation end.