Skip to content

CapacitorAdapterFs.watch method

CapacitorAdapterFs › watch

Unofficial

Start watching a path for file system changes.

Signature:

watch(realPath: string): Promise<void>

Parameters:

Parameter Type Description
realPath string Path to watch.

Returns: Promise<void>A promise that resolves when the watcher is started.