-
Notifications
You must be signed in to change notification settings - Fork 39
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
Use new watch API in fork-ts-checker-webpack-plugin #39
Comments
Wow! Really nice 👍 Is there already a release plan for 1.0.0? |
To quote myself 😉:
So yeah - 1.0.0 will be whenever webpack 5 finalizes. But for webpack 4 (what this plugin uses) you're safe to use now. |
From TypeStrong/fork-ts-checker-webpack-plugin#196 (comment)
Right now we use 2 workers for the fork-ts-checker-webpack-plugin during development.
Is that still true or does it work for vuejs files too? |
Yes - the plugin will intentionally throw an error if you try to use more than 1 Yes it works for Vue files 😁 Also: vuejs/vue-cli#3295 |
Perfect - thank you so much 🎉 |
…rformance with `useTypescriptIncrementalApi` fixes #39
…rformance with `useTypescriptIncrementalApi` fixes #39
…rformance with `useTypescriptIncrementalApi` fixes #39
Current state: fork-ts-checker-webpack-plugin@next uses a node 8 only internal for performance timing. So our unit tests fail: However @johnnyreilly is working on a solution so we will be able to use it even for node 6 🎉 Side note: I would highly recommend to use a higher node version in your projects however as long as node 6 is the official supported webpack 4 version we should also try to achieve the same for the webpack-config-plugins to be compatible |
…rformance with `useTypescriptIncrementalApi` fixes #39
…rformance with `useTypescriptIncrementalApi` fixes #39
…rformance with `useTypescriptIncrementalApi` fixes #39
…rformance with `useTypescriptIncrementalApi` fixes #39
…rformance with `useTypescriptIncrementalApi` fixes #39
I'm submitting a...
Current behavior
Fine
Expected behavior
Could be faster.
Minimal reproduction of the problem with instructions
N/A
What is the motivation / use case for changing the behavior?
Faster builds
Environment
Others:
This isn't a bug report - more a heads up. There's a new feature been added to the
fork-ts-checker-webpack-plugin
. This feature speeds up incremental compilation.More details can be found here:
https://blog.johnnyreilly.com/2019/01/typescript-and-webpack-watch-it.html
Would you consider upgrading to this for the performance improvement?
See also: TypeStrong/fork-ts-checker-webpack-plugin#198
And: TypeStrong/fork-ts-checker-webpack-plugin#196
cc @jantimon
The text was updated successfully, but these errors were encountered: