Guard is a command line tool to easily handle events on files modifications.
git clone https://git.hawx.me/guard.git