A ruby gem to watch specific files and execute commands when any of the files change
gem install dirwatch
See:
dirwatch --help
dirwatch init --help
dirwatch [directory]
starts a service, which uses the .dirwatch.yml
file in the specified directory or the current directory if not specified.
To create a template configuration use:
dirwatch init [template]