Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 897 Bytes

README.md

File metadata and controls

36 lines (23 loc) · 897 Bytes

generic-watcher

generic file watcher for Node.js

When you save changes to a watched file, the provided node module is run.

Installation

npm install -g generic-watcher

Usage

gw [options]

Options:

  -h, --help                        output usage information
  -V, --version                     output the version number
  -v, --verbose                     Verbose output
  -w, --watch [path]                Watch Path [default ./]
  -t, --throttle [milliseconds]     Minimum time between processing [default 300]
  -m, --module [path]               Path to Node module to run
  -a, --arguments <args>            Arguments to pass to Node module to run
  -i, --includedExtentions <files>  Files extentions to include
  -e, --excludedFiles <files>       Files to excluded from triggering

Licence

MIT