Fix file exists check for watch program
This commit is contained in:
parent
5c8def9a06
commit
0ed21e34ed
|
@ -450,7 +450,7 @@ namespace ts {
|
||||||
// If file is missing on host from cache, we can definitely say file doesnt exist
|
// If file is missing on host from cache, we can definitely say file doesnt exist
|
||||||
// otherwise we need to ensure from the disk
|
// otherwise we need to ensure from the disk
|
||||||
if (isFileMissingOnHost(sourceFilesCache.get(path))) {
|
if (isFileMissingOnHost(sourceFilesCache.get(path))) {
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return directoryStructureHost.fileExists(fileName);
|
return directoryStructureHost.fileExists(fileName);
|
||||||
|
|
Loading…
Reference in a new issue