This function creates an EventEmitter that gives notifications for different changes that happen to the file and directory tree under the given root argument.
This function creates an EventEmitter that gives notifications for different changes that happen to the file and directory tree under the given root argument.
The directory root you want to monitor.
The callback receives the monitor object.
watch.createMonitor(root, [options,] callback)
This function creates an EventEmitter that gives notifications for different changes that happen to the file and directory tree under the given root argument.
This function creates an EventEmitter that gives notifications for different changes that happen to the file and directory tree under the given root argument.
The directory root you want to monitor.
The options object is passed to watch.watchTree.
The callback receives the monitor object.
watch.createMonitor(root, [options,] callback)
Unwatch a previously watched directory root using watch.watchTree.
Unwatch a previously watched directory root using watch.watchTree.
the directory root you want to stop watching
watch.unwatchTree(root)
Walks a directory tree?
Walks a directory tree?
The directory root you want to walk.
The callback receives the monitor object.
watch.walk(dir, options, callback)
Walks a directory tree?
Walks a directory tree?
The directory root you want to walk.
The options object is passed to watch.watchTree.
The callback receives the monitor object.
watch.walk(dir, options, callback)
The first argument is the directory root you want to watch.
The first argument is the directory root you want to watch.
the directory root you want to watch
the result callback
watch.watchTree(root, [options,] callback)
The first argument is the directory root you want to watch.
The first argument is the directory root you want to watch.
the directory root you want to watch
the file watching options
the result callback
watch.watchTree(root, [options,] callback)
Watch Singleton