Function
watch
(
files,
directories,
missing,
startTime,
options,
callback,
callbackUndelayed
)
Source from the content-addressed store, hash-verified
| 371 | compiler.watchFileSystem = |
| 372 | /** @type {import("../lib/util/fs").WatchFileSystem} */ ({ |
| 373 | watch( |
| 374 | files, |
| 375 | directories, |
| 376 | missing, |
| 377 | startTime, |
| 378 | options, |
| 379 | callback, |
| 380 | callbackUndelayed |
| 381 | ) { |
| 382 | watchCallbacks.push(callback); |
| 383 | watchCallbacksUndelayed.push(callbackUndelayed); |
| 384 | return /** @type {import("../lib/util/fs").Watcher} */ ( |
| 385 | /** @type {unknown} */ (undefined) |
| 386 | ); |
| 387 | } |
| 388 | }); |
| 389 | /** @type {string[]} */ |
| 390 | const events = []; |
Callers
nothing calls this directly
Tested by
no test coverage detected