MCPcopy Index your code
hub / github.com/nodejs/node / reloadConfigFile

Function reloadConfigFile

test/fixtures/snapshot/typescript.js:123766–123779  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123764 synchronizeProgram();
123765 }
123766 function reloadConfigFile() {
123767 writeLog("Reloading config file: ".concat(configFileName));
123768 reloadLevel = ts.ConfigFileProgramReloadLevel.None;
123769 if (cachedDirectoryStructureHost) {
123770 cachedDirectoryStructureHost.clearCache();
123771 }
123772 parseConfigFile();
123773 hasChangedCompilerOptions = true;
123774 synchronizeProgram();
123775 // Update the wild card directory watch
123776 watchConfigFileWildCardDirectories();
123777 // Update extended config file watch
123778 updateExtendedConfigFilesWatches(toPath(configFileName), compilerOptions, watchOptions, ts.WatchType.ExtendedConfigFile);
123779 }
123780 function parseConfigFile() {
123781 setConfigFileParsingResult(ts.getParsedCommandLineOfConfigFile(configFileName, optionsToExtendForConfigFile, parseConfigFileHost, extendedConfigCache || (extendedConfigCache = new ts.Map()), watchOptionsToExtend, extraFileExtensions)); // TODO: GH#18217
123782 }

Callers 1

updateProgramFunction · 0.85

Calls 6

parseConfigFileFunction · 0.85
synchronizeProgramFunction · 0.85
toPathFunction · 0.85
concatMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…