MCPcopy Create free account
hub / github.com/chakra-ui/panda / on

Method on

packages/types/src/runtime.ts:2–2  ·  view source on GitHub ↗
(event: 'add' | 'addDir' | 'change', listener: (path: string) => void)

Source from the content-addressed store, hash-verified

1interface Watcher {
2 on(event: 'add' | 'addDir' | 'change', listener: (path: string) => void): this
3 on(event: 'all', listener: (evt: 'add' | 'addDir' | 'change' | 'unlink' | 'unlinkDir', path: string) => void): this
4 close(): Promise<void>
5}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected