Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(language-service): Recompute analyzed modules only when source fi…
…les change (#33806) This commit fixes a bug brought up by @andrius-pra whereby the language service host would recompute the analyzed modules even when none of the source files changes. This is due to a bug in our unit test that precludes non-TS files from incrementing the project version. Consequently, when the external template is updated, the program remains the same. With the bug fixed, the next step is to figure out if any source files have been added / changed / removed since the last computation. The previously analyzed could be safely retained only when none of these operations happen. PR Close #33806
- Loading branch information
Showing
3 changed files
with
41 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters