Provide API for faster incremental compilers #9282
Labels
API
Relates to the public API for TypeScript
Fixed
A PR has been merged for this issue
Suggestion
An idea for TypeScript
Milestone
In #9017 (comment)
@mhegazy suggested the possibility that TS could include an API that makes it easy to build incremental compilers, similar to the
--watch
behavior of TSC.Given a
ts.Program
object, and astring[]
of files that were modified, re-read and parse only the changed files,getPreEmitDiagnostics
only for the changed files, emit only the changed files, and give the updated Program.Right now it's too much work for us to write our own
tsc
that has the--watch
behavior.cc @IgorMinar
The text was updated successfully, but these errors were encountered: