After-save hook

How can I run a shell script when I save the file?

I would like to sync files with rsync, run tests, and reload the page in the browser with livereload. Currently I use file watchers like guard to monitor file changes. It heats CPU too much and doesn't work at all with big projects.


Please sign in to leave a comment.