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.
watch.createMonitor('/home/mikeal', function (monitor) { ... })
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
watch.watchTree('/home/mikeal', function (f, curr, prev) { ... })
Watch Extensions