Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 👌

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 😉

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)