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

Function watchFilePath

test/fixtures/snapshot/typescript.js:123843–123845  ·  view source on GitHub ↗
(path, file, callback, pollingInterval, options, watchType)

Source from the content-addressed store, hash-verified

123841 ts.clearSharedExtendedConfigFileWatcher(path, sharedExtendedConfigFileWatchers);
123842 }
123843 function watchFilePath(path, file, callback, pollingInterval, options, watchType) {
123844 return watchFile(file, function (fileName, eventKind) { return callback(fileName, eventKind, path); }, pollingInterval, options, watchType);
123845 }
123846 function onSourceFileChange(fileName, eventKind, path) {
123847 updateCachedSystemWithFile(fileName, path, eventKind);
123848 // Update the source file cache

Callers 3

watchMissingFilePathFunction · 0.85

Calls 2

watchFileFunction · 0.70
callbackFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…