github.com/tmc/watcher
Command watcher is a file watcher that executes a command when files change. It can be used to automatically run tests, build code, or any other command when files in a directory change. In Shell A: ```console $ go install github.com/tmc/watcher@latest $ mkdir /tmp/foo; cd /tmp/foo $ watcher -v echo "triggered" running echo triggered triggered ``` Now, In Shell B: ```console $ touch /tmp/foo/oi ``` Every time /tmp/foo changes the echo will be re-executed. License: ISC
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
almost 5 years ago
v0.0.0-20210425202945-cd6f60b19a32
almost 5 years ago
Versions
1
1
Loading...
Readme
Loading...
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/tmc/watcher
spec |
| License | MIT |
| Namespace | github.com/tmc |
| First Release | almost 5 years ago |
| Last Synced | 18 days ago |
Repository
| Stars | 73 on GitHub |
| Forks | 6 on GitHub |
Rankings on proxy.golang.org
Overall
Top 6.0%
Forks
Top 4.7%