Guard is a command line tool to easily handle events on file system modifications.
https://github.com/guard/guard