1.0.0 • Published 6 years ago
@brikcss/watcher-cli v1.0.0
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:
```bash watch <source files> --exec="<command to execute>" ```
To watch files and run a script:
```bash watch <source files> --script="<path to script>" ```
To watch files and run chokidar with a config file:
```bash watch <source files> --config=<path to config> ```
Environment support
Node | CLI | UMD | Browser |
---|---|---|---|
𐄂 | ✔ | 𐄂 | 𐄂 |