Add Comments

This commit is contained in:
zhengbli
2015-07-16 16:49:08 -07:00

View File

@@ -872,7 +872,9 @@ namespace ts.server {
let normalizedFileName = ts.normalizePath(fileName);
return { fileName: normalizedFileName, project };
});
this.updateErrorCheck(checkList, this.changeSeq, (n) => n == this.changeSeq, delay, 200, false);
// Project level error analysis runs on background files too, therefore
// doesn't require the file to be opened
this.updateErrorCheck(checkList, this.changeSeq, (n) => n == this.changeSeq, delay, 200, /*requireOpen*/ false);
}
}