- watch(
this: V_Context,
filename: PathLike,
options?: BufferEncoding | WatchOptions,
): AsyncIterable<promises.FileChangeInfo<string>> Parameters
- this: V_Context
- filename: PathLike
Optional
options: BufferEncoding | WatchOptions
Returns AsyncIterable<promises.FileChangeInfo<string>>
- watch(
this: V_Context,
filename: PathLike,
options: BufferEncodingOption | WatchOptions,
): AsyncIterable<promises.FileChangeInfo<Buffer>> Parameters
- this: V_Context
- filename: PathLike
- options: BufferEncodingOption | WatchOptions
Returns AsyncIterable<promises.FileChangeInfo<Buffer>>
- watch(
this: V_Context,
filename: PathLike,
options?: string | WatchOptions,
):
| AsyncIterable<promises.FileChangeInfo<string>>
| AsyncIterable<promises.FileChangeInfo<Buffer>> Parameters
- this: V_Context
- filename: PathLike
Optional
options: string | WatchOptions
Returns
| AsyncIterable<promises.FileChangeInfo<string>>
| AsyncIterable<promises.FileChangeInfo<Buffer>>