Skip to content
This repository has been archived by the owner on Dec 1, 2019. It is now read-only.

Duplicated type-checking of shared files in client and server bundles #626

Open
eliot-akira opened this issue Mar 26, 2019 · 0 comments
Open

Comments

@eliot-akira
Copy link

In a "universal" React project with client and server bundles, there are two Webpack compilers running. When a change is made in a file shared by both client and server - which is to say, most files - the same file is type-checked twice, since there are two Checker processes.

Ideally, if a file is alreadying being checked, the second Checker would ignore it.

I can understand if this is beyond the scope of atl, as it seems like a tough issue to solve. At the same time, I imagine there are many TypeScript+React projects with concurrent client/server bundles. It's not an "issue" per se, since I can just ignore the duplicated checker messages, but would be an improvement.

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

No branches or pull requests

1 participant