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

Use caches similar to buildAll when building incrementally with in watch mode of tsbuild #31128

Merged
merged 2 commits into from Apr 30, 2019

Conversation

sheetalkamat
Copy link
Member

No description provided.

@DanielRosenwasser
Copy link
Member

Just so I can document this more easily, what's the benefit here?

@sheetalkamat
Copy link
Member Author

We didn't use caches earlier when compiling in watch mode with tsc -b (after initial build) now we clear cache whenever state is invalidated (eg file is added, file is changed etc) and keep it for subsequent builds so it can use cached source files, module resolutions across different projects etc.

@sheetalkamat sheetalkamat merged commit 66bdc83 into master Apr 30, 2019
@sheetalkamat sheetalkamat deleted the buildWatchCaching branch April 30, 2019 18:37
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

Successfully merging this pull request may close these issues.

None yet

3 participants