Merge pull request #9073 from zhengbli/i8523

Increase project reference count even when the opened file is referenced by it but not its root
This commit is contained in:
Zhengbo Li
2016-06-15 12:42:14 -07:00
committed by GitHub
2 changed files with 28 additions and 0 deletions

View File

@@ -807,6 +807,7 @@ namespace ts.server {
else {
this.findReferencingProjects(info);
if (info.defaultProject) {
info.defaultProject.addOpenRef();
this.openFilesReferenced.push(info);
}
else {