https://github.com/v2e4lisp/wch
use kqueue to watch files change
https://github.com/v2e4lisp/wch
Last synced: 8 days ago
JSON representation
use kqueue to watch files change
- Host: GitHub
- URL: https://github.com/v2e4lisp/wch
- Owner: v2e4lisp
- Created: 2015-07-26T12:43:24.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-02T07:21:18.000Z (almost 11 years ago)
- Last Synced: 2025-03-05T15:24:23.236Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# watch file change
```
Usage: ./wch [-01wW] [-d dir] [-x exclude] command
Options:
-h Show this help message
-1 Run the command only once even if mulitple events occured at the same time. DEFAULT
-0 Disalbe -1
-w Wait for the last command to exit. DEFAULT.
-W Do not wait the last command.
-d=dir Watch dir. DEFAULT is the current directory.
-x=paths Files and directories to ignore. You can specify multiple paths.
```