Module: watcher

Holds a file system watcher.

File system watcher is a Node.js wrapper for fs.watch to simplify its usage and add more consistency between operating systems.

Properties:
Name Type Description
Watcher module:watcher/Watcher

Watcher module

WatcherError module:watcher/WatcherError

WatcherError module

Source:
Example
// Load module "watcher"
var watcher = require('@openveo/api').watcher;
console.log(watcher.Watcher);