We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac107c9 commit 36d89beCopy full SHA for 36d89be
src/server/scriptInfo.ts
@@ -477,6 +477,7 @@ namespace ts.server {
477
const existingRoot = p.getRootFilesMap().get(this.path);
478
// detach is unnecessary since we'll clean the list of containing projects anyways
479
p.removeFile(this, /*fileExists*/ false, /*detachFromProjects*/ false);
480
+ p.onFileAddedOrRemoved();
481
// If the info was for the external or configured project's root,
482
// add missing file as the root
483
if (existingRoot && !isInferredProject(p)) {
0 commit comments