https://github.com/qingwave/watcher
watch path when it changes trigger a command
https://github.com/qingwave/watcher
Last synced: 23 days ago
JSON representation
watch path when it changes trigger a command
- Host: GitHub
- URL: https://github.com/qingwave/watcher
- Owner: qingwave
- Created: 2019-01-25T10:51:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-25T10:55:12.000Z (over 7 years ago)
- Last Synced: 2025-03-06T03:28:39.376Z (about 1 year ago)
- Language: Go
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Watch
=====
## Usage
Usage: ``Watch [-v] [-t] [-p ] [-x ] ``
Watches for changes in a directory tree, and runs a command when
something changed. By default, the output goes to an acme win.
-t sends the output to the terminal instead of acme
-v enables verbose debugging output
-p specifies the path to watch (if it is a directory then it watches recursively)
-x specifies a regexp used to exclude files and directories from the watcher
-c the command when file changes
## Multi path support
-p
-c
-x (the watcher use exclude files shoud rank ahead)
-p
-c
...
## Install
make