Add test to verify incremental build is same as if its built clean

This commit is contained in:
Sheetal Nandi
2019-02-21 11:28:52 -08:00
parent 32026a26f9
commit e9fb843e56
40 changed files with 93 additions and 36 deletions

View File

@@ -243,7 +243,7 @@ namespace ts {
const value = readFileCache.get(key);
if (value !== undefined) return value !== false ? value : undefined; // could be .d.ts from output
// Cache json or buildInfo
if (!fileExtensionIs(fileName, Extension.Json) && !isInfoFile(fileName)) {
if (!fileExtensionIs(fileName, Extension.Json) && !isBuildInfoFile(fileName)) {
return originalReadFile.call(host, fileName);
}