Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type checker notifications in watch mode #71

Open
jamiegluk opened this issue Apr 26, 2021 · 2 comments
Open

Type checker notifications in watch mode #71

jamiegluk opened this issue Apr 26, 2021 · 2 comments

Comments

@jamiegluk
Copy link

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
Copy link
Owner

RoccoC commented May 1, 2021

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants