Skip to main content

Module FileWatcherProvider

Module FileWatcherProvider 

Source
Expand description

§FileWatcherProvider Trait

Defines the abstract contract for a service that registers recursive filesystem watchers backed by the host platform’s native notification mechanism (inotify / FSEvents / ReadDirectoryChangesW). Watch events are streamed back to the extension host as $fileWatcher:event notifications so language features, TS watch-mode, HMR, and prettier-on-save all keep working without polling.

Structs§

WatchEvent
A single watch event emitted from the underlying notifier.

Enums§

WatchEventKind
The kind of event a watcher observed.

Traits§

FileWatcherProvider
An abstract service contract for registering and cancelling recursive filesystem watchers.