Skip to content

watch

Module @netwiv/api/plugins/fs · Kind Function

import { watch } from '@netwiv/api/plugins/fs';

Watch changes (after a delay) on files or directories.

function watch(paths: string | string[] | URL | URL[], cb: (event: WatchEvent): void, options?: DebouncedWatchOptions | undefined) => Promise<UnwatchFn>

Upstream since 2.0.0


Descriptions come from the pinned @tauri-apps/plugin-fs@2.5.2 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.