Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 2 months 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-15T17:18:30.000Z (over 5 years ago)
- Last Synced: 2024-06-19T00:35:03.560Z (8 months ago)
- Topics: developer-tools, development, filewatcher, task, taskrunner, watch, watcher
- Language: Go
- Homepage:
- Size: 1.25 MB
- Stars: 74
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# multiwatch
[![Build Status](https://travis-ci.org/Enapiuz/multiwatch.svg?branch=master)](https://travis-ci.org/Enapiuz/multiwatch)
[![Go Report Card](https://goreportcard.com/badge/github.com/Enapiuz/multiwatch)](https://goreportcard.com/report/github.com/Enapiuz/multiwatch)
[![codecov](https://codecov.io/gh/Enapiuz/multiwatch/branch/master/graph/badge.svg)](https://codecov.io/gh/Enapiuz/multiwatch)
[![Maintainability](https://api.codeclimate.com/v1/badges/61bf67df2cdf15e5262f/maintainability)](https://codeclimate.com/github/Enapiuz/multiwatch/maintainability)
[![Open Source Helpers](https://www.codetriage.com/enapiuz/multiwatch/badges/users.svg)](https://www.codetriage.com/enapiuz/multiwatch)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://github.com/Enapiuz/multiwatch/blob/master/LICENSE)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FEnapiuz%2Fmultiwatch.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FEnapiuz%2Fmultiwatch?ref=badge_shield)Simple task runner on directory changes.
[![asciicast](https://asciinema.org/a/245987.svg)](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
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FEnapiuz%2Fmultiwatch.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2FEnapiuz%2Fmultiwatch?ref=badge_large)