set compilation settings of project as a part of sync process

This commit is contained in:
Vladimir Matveev 2016-08-01 17:12:15 -07:00
parent e77f9b22c0
commit de37f35f7c
2 changed files with 3 additions and 1 deletions

View File

@ -294,7 +294,8 @@ namespace ts.server {
const info = {
projectName: this.getProjectName(),
version: this.projectStructureVersion,
isInferred: this.projectKind === ProjectKind.Inferred
isInferred: this.projectKind === ProjectKind.Inferred,
options: this.getCompilerOptions()
};
// check if requested version is the same that we have reported last time
if (this.lastReportedFileNames && lastKnownVersion === this.lastReportedVersion) {

View File

@ -507,6 +507,7 @@ declare namespace ts.server.protocol {
projectName: string;
isInferred: boolean;
version: number;
options: CompilerOptions;
}
export interface ProjectChanges {