Quick Start

Detection of creation, deletion and alteration of single files or single folders in the file system.

1fwa = require('watcher').file               --for file-watcher
2fwa.creation({'/path/to/single_file'})      --watching file creation
3fwa.deletion({'/path/to/single_folder/'})   --watching folder deletion
4fwa.alteration('/path/to/single_folder/*')  --watching file alteration