multiwatch
                                
                                 multiwatch copied to clipboard
                                
                                    multiwatch copied to clipboard
                            
                            
                            
                        Simple task runner on directory changes that doesn't produce tons of logs if everything is OK 👌
multiwatch
Simple task runner on directory changes.
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 😉
