Watch some files; Run a command
Haskell Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
System
.gitignore
Commando.cabal
Commando.hs
LICENSE
Makefile
README.md
Setup.hs

README.md

Commando

Watch a directory and run a command (with optional arguments).

Commando Command Watcher

Usage

commando [COMMAND] [-q|--quiet] [-c|--consumer] [-i|--stdin] [-p|--persist] [DIRECTORY]

Available options:
  -h,--help                Show this help text
  COMMAND                  Command run on events
  -q,--quiet               Hide non-essential output
  -c,--consumer            Pass events as argument to command
  -i,--stdin               Pipe events to command
  -p,--persist             Pipe events to persistent command
  DIRECTORY                Directory to monitor

Examples

Useful in conjunction with Conscript:

commando -c echo | grep --line-buffered Add  | conscript ls

Emit "event" everytime a file is changed in the current directory:

commando

Cabal

cabal install commando

Other Similar Software

Binaries