Skip to content
Watches for changes in a directory tree and reruns a command in an acme win or just on the terminal.
Branch: master
Clone or download
Latest commit bea3ea6 Mar 25, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Fix bad markup in README.md Jan 25, 2014
gok.sh Add gok.sh. Jan 25, 2014
main.go Update main.go Mar 25, 2018
win.go Use the new 9fans repo for acme. Jan 10, 2015

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.

You can’t perform that action at this time.