Closed
Description
- Use incremental build in tsbuild --watch mode
- Actual host apis for build with and without watch mapping to corresponding program
- Move caching login Cache results for readFile, fileExists, directory exists, sourceFiles for .d.ts files across the build (only first time) #28629 to creation of host for tsbuild (without watch mode instead and have another function that createCompilerHostWithCaching instead.)
- From Supports incremental build in tsc --b --w mode #29161 We do not cache source files yet and that's something to be looked at later.
Two things can be done: - To keep source files for program thats being updated in last few cycles
- To release the source files if size exceeds or program is not used for few build cycles
- CompilerHost and Likes api to be better once this is shaped up
Search Terms
Suggestion
Use Cases
Examples
Checklist
My suggestion meets these guidelines:
- This wouldn't be a breaking change in existing TypeScript/JavaScript code
- This wouldn't change the runtime behavior of existing JavaScript code
- This could be implemented without emitting different JS based on the types of the expressions
- This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
- This feature would agree with the rest of TypeScript's Design Goals.