import { Watcher } from "https://deno.land/x/denon@2.5.0/mod.ts";
Watches for file changes in paths
path
yielding an array of all of the changes
each time one or more changes are detected.
It is debounced by interval
, recursive
, exts
,
match
and skip
are filtering the files which
will yield a change
Constructors
new
Watcher(config?: WatcherConfig)Methods
private
denoWatch(): Promise<void>private
legacyWatch(): Promise<void>private
reset(): voidprivate
verifyPath(path: string): stringisWatched(path: string): boolean
reload(): void
[Symbol.asyncIterator](): AsyncIterator<FileEvent[]>