Merge pull request #27170 from weswigham/fix-build-assert

Implement readDirectory on the watch mode CompilerHost
This commit is contained in:
Sheetal Nandi
2018-09-17 18:47:14 -07:00
committed by GitHub

View File

@@ -546,7 +546,8 @@ namespace ts {
},
maxNumberOfFilesToIterateForInvalidation: host.maxNumberOfFilesToIterateForInvalidation,
getCurrentProgram,
writeLog
writeLog,
readDirectory: (path, extensions, exclude, include, depth?) => directoryStructureHost.readDirectory!(path, extensions, exclude, include, depth),
};
// Cache for the module resolution
const resolutionCache = createResolutionCache(compilerHost, configFileName ?