Watches for changes in a directory tree and reruns a command in an acme win or just on the terminal.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 16 commits ahead, 2 commits behind eaburns:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
.gitignore
Dockerfile
Gopkg.lock
Gopkg.toml
README.md
gok.sh
image-tag
main.go

README.md

Watch

Usage: Watch [-v] [-t] [-p <path>] [-x <regexp>] <command>

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.