This repository was archived by the owner on Oct 16, 2020. It is now read-only.
This repository was archived by the owner on Oct 16, 2020. It is now read-only.
Inefficient recompilation #113
Open
Description
Right now, ProjectConfiguration.reset()
unsets everything including the Program
and TypeScriptService
. Then the next call to init()
will initialize everything from scratch. This is called by refreshFileTree()
, which is called for example after dependency installation.
Afaik, this is not the intended usage. When creating a Program
, you are supposed to pass in an old Program
, and SourceFiles etc that can be reused and didn't change can be reused. I don't think the LanguageService should be destroyed.