Skip to content

createFileWatcher()

PromptScript API


createFileWatcher(workspace, watchPaths, onEvent): FSWatcher

Defined in: server/src/watcher.ts:17

Parameters

workspace

string

watchPaths

string[]

onEvent

(event) => void

Returns

FSWatcher