/third_party/typescript/src/testRunner/unittests/config/ |
D | tsconfigParsingWatchOptions.ts | 99 watchOptions: { watchFile: "UseFsEvents" } 101 expectedOptions: { watchFile: WatchFileKind.UseFsEvents }, 118 watchFile: "UseFsEvents", 122 watchFile: WatchFileKind.UseFsEvents, 128 watchFile: "UseFsEventsOnParentDirectory", 139 watchFile: WatchFileKind.UseFsEventsOnParentDirectory, 145 watchFile: "UseFsEventsOnParentDirectory", 158 json: { watchOptions: { watchFile: "UseFsEvents" } }, 159 expectedOptions: { watchFile: WatchFileKind.UseFsEvents } 219 json: { watchOptions: { watchFile: "UseFsEvents" } }, [all …]
|
/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/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 | 82 check(null, fs.watchFile, 'foo\u0000bar', common.mustNotCall()); 116 check(null, fs.watchFile, fileUrl, assert.fail); 147 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());
|
D | test-fs-watchfile-bigint.js | 44 fs.watchFile(enoentFile, options, common.mustCall((curr, prev) => {
|
/third_party/typescript/tests/baselines/reference/ |
D | APISample_WatchWithOwnWatchHost.js | 39 watchFile: ts.sys.watchFile!, 90 watchFile: ts.sys.watchFile, property
|
D | APISample_watcher.js | 22 …watchFile(filename: string, options: { persistent?: boolean; interval?: number; }, listener: (curr… 61 fs.watchFile(fileName, 155 fs.watchFile(fileName, { persistent: true, interval: 250 }, function (curr, prev) {
|
/third_party/typescript/src/compiler/ |
D | sys.ts | 150 return watchFile; 152 …function watchFile(fileName: string, callback: FileWatcherCallback, defaultPollingInterval: Pollin… 366 watchFile: HostWatchFile, 385 watcher: watchFile( 817 …}: CreateSystemWatchFunctions): { watchFile: HostWatchFile; watchDirectory: HostWatchDirectory; } { 822 watchFile, 826 …function watchFile(fileName: string, callback: FileWatcherCallback, pollingInterval: PollingInterv… function 828 const watchFileKind = Debug.checkDefined(options.watchFile); 861 if (options && options.watchFile !== undefined) return options; 865 return { watchFile: WatchFileKind.PriorityPollingInterval }; [all …]
|
D | watchUtilities.ts | 470 …watchFile(path: string, callback: FileWatcherCallback, pollingInterval?: number, options?: WatchOp… method 477 …watchFile: (file: string, callback: FileWatcherCallback, pollingInterval: PollingInterval, options… property 485 …watchFile: (file, callback, pollingInterval, options) => host.watchFile(file, callback, pollingInt… 490 watchFile: createTriggerLoggingAddWatch("watchFile"), 496 watchFile: createFileWatcherWithLogging, 505 watchFile: createExcludeHandlingAddWatch("watchFile"), 550 …const watcher = triggerInvokingFactory!.watchFile(file, cb, flags, options, detailInfo1, detailInf… 611 watchFile: fallbackPolling !== undefined ?
|
D | watchPublic.ts | 55 …watchFile(path: string, callback: FileWatcherCallback, pollingInterval?: number, options?: Compile… method 287 const { watchFile, watchDirectory, writeLog } = createWatchFactory(host, compilerOptions); constant 293 …configFileWatcher = watchFile(configFileName, scheduleProgramReload, PollingInterval.High, watchOp… 696 …return watchFile(file, (fileName, eventKind) => callback(fileName, eventKind, path), pollingInterv… 807 …return watchFile(extendedConfigFile, scheduleProgramReload, PollingInterval.High, watchOptions, Wa…
|
/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 65 fs.watchFile(fileName,
|
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | watchEnvironment.ts | 266 watchFile: protocol.WatchFileKind.UseFsEvents 290 fallbackOptions: { watchFile: WatchFileKind.PriorityPollingInterval } 305 fallbackOptions: { watchFile: WatchFileKind.PriorityPollingInterval } 358 fallbackOptions: { watchFile: WatchFileKind.PriorityPollingInterval } 412 watchFile: "UseFsEvents" 452 fallbackOptions: { watchFile: WatchFileKind.PriorityPollingInterval } 467 fallbackOptions: { watchFile: WatchFileKind.PriorityPollingInterval } 516 fallbackOptions: { watchFile: WatchFileKind.PriorityPollingInterval } 803 fallbackOptions: { watchFile: WatchFileKind.PriorityPollingInterval }
|
/third_party/typescript/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/ |
D | when-Windows-style-drive-root-is-uppercase.js | 79 …{"directoryName":"c:/project","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"Priori… property 153 …/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollin… property
|
D | when-Windows-style-drive-root-is-lowercase.js | 79 …{"directoryName":"c:/project","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"Priori… property 153 …/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollin… property
|
/third_party/typescript/src/harness/ |
D | virtualFileSystemWithWatch.ts | 398 watchFile: HostWatchFile; 420 const { watchFile, watchDirectory } = createSystemWatchFunctions({ constant 444 this.watchFile = watchFile; 732 this.watchFile( 1209 const { watchFile, watchDirectory, fallbackPolling, ...rest } = fallbackOptions; constant 1211 watchFile: watchFile !== undefined ? WatchFileKind[watchFile] : undefined,
|
/third_party/typescript/src/server/ |
D | types.ts | 10 …watchFile(path: string, callback: FileWatcherCallback, pollingInterval?: number, options?: WatchOp… method
|