You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a setup using yarn-workspace with babel.
When we add ForkTsCheckerWebpackPlugin out of the box to our webpack with just: new ForkTsCheckerWebpackPlugin({ typescript: { build: true, memoryLimit: 4096, }, }),
We experience a (delayed) refresh once a file is changed. Meaning that we save, the hot reload makes a refresh instantly and add our changes, and then 3-5++ seconds later we get another refresh made by ForkTsCheckerWebpackPlugin.
Saving a component 3 times would then just que all of these refreshes, so that over a period of time all of those refreshes would go through.
We have tried to add mode: 'readonly' which works exactly how we want. But sadly if we change another workspace we recieve no errors when there are errors. We've also tried with write-tsbuildinfo but with no luck.
Surely there is a way to have ForkTsCheckerWebpackPlugin typecheck without forcing rerenders that works across workspaces?
The text was updated successfully, but these errors were encountered:
Hello,
We have a setup using yarn-workspace with babel.
When we add ForkTsCheckerWebpackPlugin out of the box to our webpack with just:
new ForkTsCheckerWebpackPlugin({ typescript: { build: true, memoryLimit: 4096, }, }),
We experience a (delayed) refresh once a file is changed. Meaning that we save, the hot reload makes a refresh instantly and add our changes, and then 3-5++ seconds later we get another refresh made by ForkTsCheckerWebpackPlugin.
Saving a component 3 times would then just que all of these refreshes, so that over a period of time all of those refreshes would go through.
We have tried to add
mode: 'readonly'
which works exactly how we want. But sadly if we change another workspace we recieve no errors when there are errors. We've also tried withwrite-tsbuildinfo
but with no luck.Surely there is a way to have ForkTsCheckerWebpackPlugin typecheck without forcing rerenders that works across workspaces?
The text was updated successfully, but these errors were encountered: