mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-30 01:04:49 -05:00
Add test to verify incremental build is same as if its built clean
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user