Skip to content

WatchOptions

Defined in: index.ts:110

  • WatchOptions
readonly debounce?: Input;

Defined in: index.ts:111


readonly filter?: (path: string) => boolean;

Defined in: index.ts:113

Receives an absolute file path; applies to native events and reconciliation.

Parameter Type
path string

boolean


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.

void

FileSystem.WatchOptions.onReady


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.

FileSystem.WatchOptions.recursive