https://github.com/enapiuz/multiwatch
Simple task runner on directory changes that doesn't produce tons of logs if everything is OK 👌
https://github.com/enapiuz/multiwatch
developer-tools development filewatcher task taskrunner watch watcher
Last synced: about 1 month ago
JSON representation
Simple task runner on directory changes that doesn't produce tons of logs if everything is OK 👌
- Host: GitHub
- URL: https://github.com/enapiuz/multiwatch
- Owner: Enapiuz
- License: gpl-3.0
- Created: 2019-05-10T14:02:20.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-15T17:18:30.000Z (about 6 years ago)
- Last Synced: 2025-04-23T03:46:02.819Z (about 1 month ago)
- Topics: developer-tools, development, filewatcher, task, taskrunner, watch, watcher
- Language: Go
- Homepage:
- Size: 1.25 MB
- Stars: 74
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# multiwatch
[](https://travis-ci.org/Enapiuz/multiwatch)
[](https://goreportcard.com/report/github.com/Enapiuz/multiwatch)
[](https://codecov.io/gh/Enapiuz/multiwatch)
[](https://codeclimate.com/github/Enapiuz/multiwatch/maintainability)
[](https://www.codetriage.com/enapiuz/multiwatch)
[](https://github.com/Enapiuz/multiwatch/blob/master/LICENSE)
[](https://app.fossa.io/projects/git%2Bgithub.com%2FEnapiuz%2Fmultiwatch?ref=badge_shield)Simple task runner on directory changes.
[](https://asciinema.org/a/245987)## Installation
### Manual
1. Download multiwatch
- `git clone https://github.com/Enapiuz/multiwatch.git`
2. Install via go
- `cd multiwatch && go install`
### Distros
#### macOS
`brew install Enapiuz/tap/multiwatch`
#### Other systems
Work in progress## Config
```toml
# 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 😉## License
[](https://app.fossa.io/projects/git%2Bgithub.com%2FEnapiuz%2Fmultiwatch?ref=badge_large)