A ruby gem to watch specific files and execute commands when any of the files change
gem install dirwatchSee:
dirwatch --help
dirwatch init --helpdirwatch [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]