Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WatchOptions

Hierarchy

  • WatchOptions

Index

Properties

Optional encoding

encoding: buffer.Encoding

Specifies the character encoding to be used for the filename passed to the listener. default = 'utf8'.

Optional persistent

persistent: boolean

Indicates whether the process should continue to run as long as files are being watched. default = true.

Optional recursive

recursive: boolean

Indicates whether all subdirectories should be watched, or only the current directory. The applies when a directory is specified, and only on supported platforms (See Caveats). default = false.

Generated using TypeDoc