/third_party/node/test/pummel/ |
D | test-fs-watch-file.js | 60 () => { fs.watchFile(filepathOne); }, 65 fs.watchFile(filepathOne, function() { 80 () => { fs.watchFile(filepathTwo); }, 94 fs.watchFile(filepathTwo, a); 95 fs.watchFile(filepathTwo, b); 108 fs.watchFile(filenameThree, uncalledListener); 109 fs.watchFile(filenameThree, b); 131 fs.watchFile(filenameFour, a);
|
D | test-watch-file.js | 35 function watchFile() { function 36 fs.watchFile(f, (curr, prev) => { 43 watchFile(); 48 watchFile();
|
/third_party/typescript/src/testRunner/unittests/config/ |
D | tsconfigParsingWatchOptions.ts | 95 watchOptions: { watchFile: "UseFsEvents" } 110 watchFile: "UseFsEvents", 116 watchFile: "UseFsEventsOnParentDirectory", 129 watchFile: "UseFsEventsOnParentDirectory", 139 json: { watchOptions: { watchFile: "UseFsEvents" } }, 166 json: { watchOptions: { watchFile: "UseFsEvents" } },
|
/third_party/typescript/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/ |
D | with-fallbackPolling-option.js | 30 sysLog:: /a/b/tsconfig.json:: Changing to watchFile 31 sysLog:: /a/b/commonFile1.ts:: Changing to watchFile 32 sysLog:: /a/b/commonFile2.ts:: Changing to watchFile 33 sysLog:: /a/lib/lib.d.ts:: Changing to watchFile 36 sysLog:: /a/b:: Changing to watchFile
|
/third_party/node/test/parallel/ |
D | test-fs-watchfile.js | 13 fs.watchFile('./some-file'); 22 fs.watchFile('./another-file', {}, 'bad listener'); 30 fs.watchFile(new Object(), common.mustNotCall()); 58 fs.watchFile(enoentFile, { interval: 0 }, common.mustCall((curr, prev) => {
|
D | test-fs-watchfile-ref-unref.js | 10 const watcher = fs.watchFile(__filename, uncalledListener); 23 fs.watchFile(__filename, uncalledListener); 24 const watcher2 = fs.watchFile(__filename, uncalledListener2);
|
D | test-fs-null-bytes.js | 83 check(null, fs.watchFile, 'foo\u0000bar', common.mustNotCall()); 118 check(null, fs.watchFile, fileUrl, assert.fail); 150 check(null, fs.watchFile, fileUrl2, assert.fail);
|
D | test-fs-watch-stop-sync.js | 18 const watch = fs.watchFile(__filename, common.mustNotCall());
|
D | test-worker-fs-stat-watcher.js | 15 fs.watchFile(__filename, () => {});
|
D | test-fs-watch-file-enoent-after-deletion.js | 44 fs.watchFile(filename, { interval: 50 }, common.mustCall(function(curr, prev) {
|
D | test-fs-watch-stop-async.js | 7 const watch = fs.watchFile(__filename, common.mustNotCall());
|
/third_party/node/lib/internal/fs/ |
D | recursive_watch.js | 159 this.#watchFile(f); 174 #watchFile(file) { method in FSWatcher 179 const { watchFile } = lazyLoadFsSync(); 182 watchFile(file, { 227 this.#watchFile(f); 232 this.#watchFile(filename);
|
/third_party/typescript/tests/baselines/reference/ |
D | APISample_WatchWithOwnWatchHost.js | 40 watchFile: ts.sys.watchFile!, 91 watchFile: ts.sys.watchFile, property
|
D | APISample_watcher.js | 23 …watchFile(filename: string, options: { persistent?: boolean; interval?: number; }, listener: (curr… 64 fs.watchFile(fileName, 160 fs.watchFile(fileName, { persistent: true, interval: 250 }, function (curr, prev) {
|
/third_party/typescript/src/compiler/ |
D | sys.ts | 208 return watchFile; 210 …function watchFile(fileName: string, callback: FileWatcherCallback, defaultPollingInterval: Pollin… 391 return watchFile; 393 function watchFile(fileName: string, callback: FileWatcherCallback): FileWatcher { 879 …}: CreateSystemWatchFunctions): { watchFile: HostWatchFile; watchDirectory: HostWatchDirectory; } { 889 watchFile, 893 …function watchFile(fileName: string, callback: FileWatcherCallback, pollingInterval: PollingInterv… function 895 const watchFileKind = Debug.checkDefined(options.watchFile); 933 if (options && options.watchFile !== undefined) return options; 937 return { watchFile: WatchFileKind.PriorityPollingInterval }; [all …]
|
D | watchUtilities.ts | 575 …watchFile(path: string, callback: FileWatcherCallback, pollingInterval?: number, options?: WatchOp… method 582 …watchFile: (file: string, callback: FileWatcherCallback, pollingInterval: PollingInterval, options… property 590 …watchFile: (file, callback, pollingInterval, options) => host.watchFile(file, callback, pollingInt… 595 watchFile: createTriggerLoggingAddWatch("watchFile"), 601 watchFile: createFileWatcherWithLogging, 610 watchFile: createExcludeHandlingAddWatch("watchFile"), 655 …const watcher = triggerInvokingFactory!.watchFile(file, cb, flags, options, detailInfo1, detailInf… 716 watchFile: fallbackPolling !== undefined ?
|
D | watchPublic.ts | 80 …watchFile(path: string, callback: FileWatcherCallback, pollingInterval?: number, options?: WatchOp… method 339 const { watchFile, watchDirectory, writeLog } = createWatchFactory(host, compilerOptions); constant 345 …configFileWatcher = watchFile(configFileName, scheduleProgramReload, PollingInterval.High, watchOp… 363 …compilerHost.watchAffectingFileLocation = (file, cb) => watchFile(file, cb, PollingInterval.High, … 860 …return watchFile(file, (fileName, eventKind) => callback(fileName, eventKind, path), pollingInterv… 964 (extendedConfigFileName, extendedConfigFilePath) => watchFile( 998 commandLine.watcher ||= watchFile(
|
/third_party/node/test/async-hooks/ |
D | test-graph.statwatcher.js | 14 fs.watchFile(__filename, onchange); 17 fs.watchFile(commonPath, onchange);
|
D | test-statwatcher.js | 37 const w1 = fs.watchFile(file1, { interval: 10 }, onchangex('w1')); 48 const w2 = fs.watchFile(file2, { interval: 10 }, onchangex('w2'));
|
/third_party/typescript/tests/cases/compiler/ |
D | APISample_WatchWithOwnWatchHost.ts | 43 watchFile: ts.sys.watchFile!,
|
D | APISample_watcher.ts | 26 …watchFile(filename: string, options: { persistent?: boolean; interval?: number; }, listener: (curr… variable 67 fs.watchFile(fileName,
|
/third_party/typescript/src/testRunner/unittests/tscWatch/ |
D | watchEnvironment.ts | 78 watchFile: "FixedChunkSizePolling" 406 watchFile: "UseFsEvents" 565 watchOptions: { watchFile: "useFsEvents" }, 600 …[`${projectRoot}/tsconfig.json`]: JSON.stringify({ watchOptions: { watchFile: "useFsEvents" }, fil… 630 …[`${projectRoot}/tsconfig.json`]: JSON.stringify({ watchOptions: { watchFile: "useFsEvents" }, fil… 661 watchOptions: { watchFile: "useFsEvents" },
|
/third_party/typescript/tests/baselines/reference/config/commandLineParsing/parseBuildOptions/ |
D | parse --watchFile.js | 1 --watchFile UseFsEvents --verbose
|
/third_party/typescript/tests/baselines/reference/config/commandLineParsing/parseCommandLine/ |
D | parse --watchFile.js | 1 --watchFile UseFsEvents 0.ts
|
/third_party/typescript/src/server/ |
D | types.ts | 14 …watchFile(path: string, callback: FileWatcherCallback, pollingInterval?: number, options?: WatchOp… method
|