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
{{ message }}
Repository navigation
Provide API for faster incremental compilers #9282
In #9017 (comment) Mohamed Hegazy (@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 a string[] 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.
Tagging Anders Hejlsberg (@ahejlsberg) per conversation we had today about this issue. This is the number one problem we have reported from those who are going from Babel to TypeScript and looking for fast incremental builds. Related issue #9017 for more context Anders.
Activity
TheLarkInn commentedon Apr 14, 2017
+1 😏
TheLarkInn commentedon May 12, 2017
Tagging Anders Hejlsberg (@ahejlsberg) per conversation we had today about this issue. This is the number one problem we have reported from those who are going from Babel to TypeScript and looking for fast incremental builds. Related issue #9017 for more context Anders.
mhegazy commentedon Jan 20, 2018
Should be fixed by #20234