webpack-build-notifier icon indicating copy to clipboard operation
webpack-build-notifier copied to clipboard

Type checker notifications in watch mode

Open jamiegluk opened this issue 3 years ago • 2 comments

Using Webpack with Typescript via ts-loader, in watch mode, the build completes successfully and I get a notification. But the type-checker runs after emit, so I still have to check the console to see if there were any type errors. In normal mode this causes the build to exit with an error code, but in watch mode it continues, so no notification, just console messages.

jamiegluk avatar Apr 26 '21 21:04 jamiegluk

Thanks for the report.

Are you using something like fork-ts-checker-webpack-plugin to run the type checker in another process?

Any chance you can provide an example webpack config or project to reproduce this?

RoccoC avatar May 01 '21 00:05 RoccoC

It is quite a big build, so I will try and create an MRE and get back to you with that. I have just fried my laptop with spilt juice, so there might be a delay until I can get that done

jamiegluk avatar May 03 '21 02:05 jamiegluk