mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 11:35:42 -06:00
invalidate cached typings on add or remove file
This commit is contained in:
parent
7132fe5112
commit
a2f92aa583
@ -414,6 +414,9 @@ namespace ts.server {
|
||||
removed.push(id);
|
||||
}
|
||||
}
|
||||
if (added.length > 0 || removed.length > 0) {
|
||||
this.projectService.typingsCache.invalidateCachedTypingsForProject(this);
|
||||
}
|
||||
this.lastReportedFileNames = currentFiles;
|
||||
|
||||
this.lastReportedFileNames = currentFiles;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user