watchImmediate
Module @netwiv/api/plugins/fs · Kind Function
import { watchImmediate } from '@netwiv/api/plugins/fs';Watch changes on files or directories.
Signature
Section titled “Signature”function watchImmediate(paths: string | string[] | URL | URL[], cb: (event: WatchEvent): void, options?: WatchOptions | 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.