@brikcss/watcher-cli
v1.0.0
Published
CLI utility to watch files and do stuff when they change.
Downloads
13
Readme
Watcher CLI
CLI utility to watch files and do stuff when they change. A tiny wrapper around chokidar.
Install
npm install -D @brikcss/watcher-cli
Usage
To watch files and run a shell command:
watch <source files> --exec="<command to execute>"
To watch files and run a script:
watch <source files> --script="<path to script>"
To watch files and run chokidar with a config file:
watch <source files> --config=<path to config>
Environment support
| Node | CLI | UMD | Browser | |:-------|:-----:|:------|:----------| | 𐄂 | ✔ | 𐄂 | 𐄂 |