Home
last modified time | relevance | path

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

123

/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/typescript/src/testRunner/unittests/config/
DtsconfigParsingWatchOptions.ts95 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/
Dwith-fallbackPolling-option.js30 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/
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.js83 check(null, fs.watchFile, 'foo\u0000bar', common.mustNotCall());
118 check(null, fs.watchFile, fileUrl, assert.fail);
150 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());
/third_party/node/lib/internal/fs/
Drecursive_watch.js159 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/
DAPISample_WatchWithOwnWatchHost.js40 watchFile: ts.sys.watchFile!,
91 watchFile: ts.sys.watchFile, property
DAPISample_watcher.js23watchFile(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/
Dsys.ts208 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 …]
DwatchUtilities.ts575watchFile(path: string, callback: FileWatcherCallback, pollingInterval?: number, options?: WatchOp… method
582watchFile: (file: string, callback: FileWatcherCallback, pollingInterval: PollingInterval, options… property
590watchFile: (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 ?
DwatchPublic.ts80watchFile(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/
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
67 fs.watchFile(fileName,
/third_party/typescript/src/testRunner/unittests/tscWatch/
DwatchEnvironment.ts78 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/
Dparse --watchFile.js1 --watchFile UseFsEvents --verbose
/third_party/typescript/tests/baselines/reference/config/commandLineParsing/parseCommandLine/
Dparse --watchFile.js1 --watchFile UseFsEvents 0.ts
/third_party/typescript/src/server/
Dtypes.ts14watchFile(path: string, callback: FileWatcherCallback, pollingInterval?: number, options?: WatchOp… method

123