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
commit 83fe1ead04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 ?