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

Function watchMissingFilePath

test/fixtures/snapshot/typescript.js:123861–123866  ·  view source on GitHub ↗
(missingFilePath)

Source from the content-addressed store, hash-verified

123859 }
123860 }
123861 function watchMissingFilePath(missingFilePath) {
123862 // If watching missing referenced config file, we are already watching it so no need for separate watcher
123863 return (parsedConfigs === null || parsedConfigs === void 0 ? void 0 : parsedConfigs.has(missingFilePath)) ?
123864 ts.noopFileWatcher :
123865 watchFilePath(missingFilePath, missingFilePath, onMissingFileChange, ts.PollingInterval.Medium, watchOptions, ts.WatchType.MissingFile);
123866 }
123867 function watchPackageJsonLookupPath(packageJsonPath) {
123868 // If the package.json is pulled into the compilation itself (eg, via json imports), don't add a second watcher here
123869 return sourceFilesCache.has(packageJsonPath) ?

Callers

nothing calls this directly

Calls 2

watchFilePathFunction · 0.85
hasMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…