fswatcher is a cross platform filesystem watcher which allows you to execute a custom command every time a file or folder changes