RoccoC / webpack-build-notifier

A Webpack plugin that generates OS notifications for build steps using node-notifier.
MIT License
162 stars 24 forks source link

Type checker notifications in watch mode #71

Open jamiegluk opened 3 years ago

jamiegluk commented 3 years ago

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.

RoccoC commented 3 years ago

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?

jamiegluk commented 3 years ago

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