Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 2.27 KB

README.md

File metadata and controls

52 lines (41 loc) · 2.27 KB

multiwatch

Build Status Go Report Card codecov Maintainability Open Source Helpers License: GPL v3 FOSSA Status

Simple task runner on directory changes. asciicast

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

# 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