Chokidar Watcher
File system watcher based on chokidar
that emits add/change/rename/unlink events.
The main reason this library exists is to provide a "rename" event too, if you don't need that you might just want to use chokidar
directly.
Install
npm install --save chokidar-watcher
API
This library provides the following interface:
; ;
- ℹ️ The only unsupported chokidar option is
ignoreInitial
, you can't set it tofalse
because this library needs it for detecting renames.
Usage
; ; ; watcher '/Users/fabio/Desktop', options, handlers ;
License
MIT © Fabio Spampinato