An open API service indexing awesome lists of open source software.

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

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