multiwatch
![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FEnapiuz%2Fmultiwatch.svg?type=shield)
Simple task runner on directory changes.
![asciicast](https://asciinema.org/a/245987.svg)
Installation
Manual
- Download multiwatch
git clone https://github.com/Enapiuz/multiwatch.git
- Install via go
cd multiwatch && go install
Distros
macOS
brew install Enapiuz/tap/multiwatch
Other systems
Work in progress
Config
# debounce time for file change events in milliseconds
delay=500
[[watch]]
name = "linter"
paths = ["src"]
commands = ["npm run lint"]
[[watch]]
name = "tests"
paths = ["src", "tests"]
ignorePrefixes=["vendor"] # ignore "src/vendor/*" and "tests/vendor/*"
commands = ["npm run test", "npm run build"]
breakOnFail = true # if tests will fail, build won't be run
Donation
If you are enjoying this tool, feel free to buy me a coffee 😉
![Buy Me A Coffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)
License
![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FEnapiuz%2Fmultiwatch.svg?type=large)