WatchOptions
Defined in: index.ts:119
Extends
Section titled “Extends”WatchOptions
Properties
Section titled “Properties”debounce?
Section titled “debounce?”readonly debounce?: Input;Defined in: index.ts:120
filter?
Section titled “filter?”readonly filter?: (path: string) => boolean;Defined in: index.ts:122
Receives an absolute file path; applies to native events and reconciliation.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
path |
string |
Returns
Section titled “Returns”boolean
onReady?
Section titled “onReady?”readonly onReady?: () => void;Defined in: ../../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/FileSystem.d.ts:823
Called once the underlying watcher is installed and can buffer events. Stream construction alone does not install a watcher. Custom watch backends must also call this callback after installation, when supplied.
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”FileSystem.WatchOptions.onReady
recursive?
Section titled “recursive?”readonly recursive?: boolean;Defined in: ../../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/FileSystem.d.ts:817
When true, changes in subdirectories are also reported.
Inherited from
Section titled “Inherited from”FileSystem.WatchOptions.recursive