Home
last modified time | relevance | path

Searched refs:watchFile (Results 1 – 25 of 70) sorted by relevance

123

/third_party/typescript/src/testRunner/unittests/config/
DtsconfigParsingWatchOptions.ts99 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/
Dtest-fs-watch-file.js60 () => { 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);
Dtest-watch-file.js35 function watchFile() { function
36 fs.watchFile(f, (curr, prev) => {
43 watchFile();
48 watchFile();
/third_party/node/test/parallel/
Dtest-fs-watchfile.js13 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) => {
Dtest-fs-watchfile-ref-unref.js10 const watcher = fs.watchFile(__filename, uncalledListener);
23 fs.watchFile(__filename, uncalledListener);
24 const watcher2 = fs.watchFile(__filename, uncalledListener2);
Dtest-fs-null-bytes.js82 check(null, fs.watchFile, 'foo\u0000bar', common.mustNotCall());
116 check(null, fs.watchFile, fileUrl, assert.fail);
147 check(null, fs.watchFile, fileUrl2, assert.fail);
Dtest-fs-watch-stop-sync.js18 const watch = fs.watchFile(__filename, common.mustNotCall());
Dtest-worker-fs-stat-watcher.js15 fs.watchFile(__filename, () => {});
Dtest-fs-watch-file-enoent-after-deletion.js44 fs.watchFile(filename, { interval: 50 }, common.mustCall(function(curr, prev) {
Dtest-fs-watch-stop-async.js7 const watch = fs.watchFile(__filename, common.mustNotCall());
Dtest-fs-watchfile-bigint.js44 fs.watchFile(enoentFile, options, common.mustCall((curr, prev) => {
/third_party/typescript/tests/baselines/reference/
DAPISample_WatchWithOwnWatchHost.js39 watchFile: ts.sys.watchFile!,
90 watchFile: ts.sys.watchFile, property
DAPISample_watcher.js22watchFile(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/
Dsys.ts150 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 …]
DwatchUtilities.ts470watchFile(path: string, callback: FileWatcherCallback, pollingInterval?: number, options?: WatchOp… method
477watchFile: (file: string, callback: FileWatcherCallback, pollingInterval: PollingInterval, options… property
485watchFile: (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 ?
DwatchPublic.ts55watchFile(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/
Dtest-graph.statwatcher.js14 fs.watchFile(__filename, onchange);
17 fs.watchFile(commonPath, onchange);
Dtest-statwatcher.js37 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/
DAPISample_WatchWithOwnWatchHost.ts43 watchFile: ts.sys.watchFile!,
DAPISample_watcher.ts26watchFile(filename: string, options: { persistent?: boolean; interval?: number; }, listener: (curr… variable
65 fs.watchFile(fileName,
/third_party/typescript/src/testRunner/unittests/tsserver/
DwatchEnvironment.ts266 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/
Dwhen-Windows-style-drive-root-is-uppercase.js79 …{"directoryName":"c:/project","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"Priori… property
153 …/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollin… property
Dwhen-Windows-style-drive-root-is-lowercase.js79 …{"directoryName":"c:/project","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"Priori… property
153 …/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollin… property
/third_party/typescript/src/harness/
DvirtualFileSystemWithWatch.ts398 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/
Dtypes.ts10watchFile(path: string, callback: FileWatcherCallback, pollingInterval?: number, options?: WatchOp… method

123