Skip to main content

FsWatcher

interface Deno.FsWatcher
extends AsyncIterable<FsEvent>Disposable

Returned by Deno.watchFs. It is an async iterator yielding up system events. To stop watching the file system by calling .close() method.

Stops watching the file system and closes the watcher resource.

optional
Jump to headingreturn(value?: any): Promise<IteratorResult<FsEvent>>

Stops watching the file system and closes the watcher resource.

Back to top