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

Function watchExtendedConfigFiles

test/fixtures/snapshot/typescript.js:125363–125370  ·  view source on GitHub ↗
(state, resolvedPath, parsed)

Source from the content-addressed store, hash-verified

125361 }, ts.PollingInterval.High, parsed === null || parsed === void 0 ? void 0 : parsed.watchOptions, ts.WatchType.ConfigFile, resolved));
125362 }
125363 function watchExtendedConfigFiles(state, resolvedPath, parsed) {
125364 ts.updateSharedExtendedConfigFileWatcher(resolvedPath, parsed === null || parsed === void 0 ? void 0 : parsed.options, state.allWatchedExtendedConfigFiles, function (extendedConfigFileName, extendedConfigFilePath) { return state.watchFile(extendedConfigFileName, function () {
125365 var _a;
125366 return (_a = state.allWatchedExtendedConfigFiles.get(extendedConfigFilePath)) === null || _a === void 0 ? void 0 : _a.projects.forEach(function (projectConfigFilePath) {
125367 return invalidateProjectAndScheduleBuilds(state, projectConfigFilePath, ts.ConfigFileProgramReloadLevel.Full);
125368 });
125369 }, ts.PollingInterval.High, parsed === null || parsed === void 0 ? void 0 : parsed.watchOptions, ts.WatchType.ExtendedConfigFile); }, function (fileName) { return toPath(state, fileName); });
125370 }
125371 function watchWildCardDirectories(state, resolved, resolvedPath, parsed) {
125372 if (!state.watch)
125373 return;

Callers 2

startWatchingFunction · 0.85

Calls 5

toPathFunction · 0.85
getMethod · 0.65
forEachMethod · 0.65
watchFileMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…