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

Faster type checking with forked process #537

Closed
piotr-oles opened this Issue May 6, 2017 · 4 comments

Comments

Projects
None yet
2 participants
@piotr-oles
Copy link
Contributor

piotr-oles commented May 6, 2017

Hi everyone!
I've created webpack plugin: fork-ts-checker-webpack-plugin that plays nicely with ts-loader. The idea is to compile project with transpileOnly: true and check types on separate process (async). With this approach, webpack build is not blocked by type checker and we have semantic check with fast incremental build. More info on github repo :)
So if you like it and you think it would be good to add some info in README.md about this plugin, I would be greatful.
Thanks :)

@johnnyreilly

This comment has been minimized.

Copy link
Member

johnnyreilly commented May 7, 2017

Thanks for letting us know! This sounds really useful / interesting. Assuming there's no gotchas then I think adding documentation about this to ts-loader could be a good idea.

When I get some time I'd like to have a play with this and reply back to you. Thanks!

@johnnyreilly

This comment has been minimized.

Copy link
Member

johnnyreilly commented May 10, 2017

Would you be interested in submitting a PR which contains:

  1. An update to the readme mentioning the fork-ts-checker-webpack-plugin and
  2. An example setup to live here: https://github.com/TypeStrong/ts-loader/tree/master/examples

?

I think this could be useful to people. Thanks for your work!

@piotr-oles

This comment has been minimized.

Copy link
Contributor

piotr-oles commented May 11, 2017

Of course, I will submit it soon ;)

EDIT: Here you are: #540 :)

@johnnyreilly

This comment has been minimized.

Copy link
Member

johnnyreilly commented May 11, 2017

Merged. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment