Skip to content

Commit

Permalink
Merge pull request #18673 from RyanCavanaugh/port18603
Browse files Browse the repository at this point in the history
Report external files in initial case
  • Loading branch information
RyanCavanaugh committed Sep 22, 2017
2 parents 5538770 + 6281b05 commit aa40be6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/server/project.ts
Expand Up @@ -767,9 +767,10 @@ namespace ts.server {
// unknown version - return everything
const projectFileNames = this.getFileNames();
const externalFiles = this.getExternalFiles().map(f => toNormalizedPath(f));
this.lastReportedFileNames = arrayToSet(projectFileNames.concat(externalFiles));
const allFiles = projectFileNames.concat(externalFiles);
this.lastReportedFileNames = arrayToSet(allFiles);
this.lastReportedVersion = this.projectStructureVersion;
return { info, files: projectFileNames, projectErrors: this.getGlobalProjectErrors() };
return { info, files: allFiles, projectErrors: this.getGlobalProjectErrors() };
}
}

Expand Down

0 comments on commit aa40be6

Please sign in to comment.