Fix file exists check for watch program

This commit is contained in:
Ben Lichtman 2020-03-06 09:44:16 -08:00
parent 5c8def9a06
commit 0ed21e34ed

View file

@ -450,7 +450,7 @@ namespace ts {
// If file is missing on host from cache, we can definitely say file doesnt exist
// otherwise we need to ensure from the disk
if (isFileMissingOnHost(sourceFilesCache.get(path))) {
return true;
return false;
}
return directoryStructureHost.fileExists(fileName);