PromptScript API Function: createFileWatcher()¶ createFileWatcher(workspace, watchPaths, onEvent): FSWatcher Defined in: server/src/watcher.ts:17 Parameters¶ workspace¶ string watchPaths¶ string[] onEvent¶ (event) => void Returns¶ FSWatcher