- watch(
this: V_Context,
path: PathLike,
listener?: (event: string, filename: string) => any,
): FSWatcher Parameters
- this: V_Context
- path: PathLike
Optional
listener: (event: string, filename: string) => any
Returns FSWatcher
- watch(
this: V_Context,
path: PathLike,
options: { persistent?: boolean },
listener?: (event: string, filename: string) => any,
): FSWatcher Parameters
- this: V_Context
- path: PathLike
- options: { persistent?: boolean }
Optional
listener: (event: string, filename: string) => any
Returns FSWatcher