Auto-rsync local changes to a remote server

Submitted by fago on Fri, 04/11/2014 - 18:05
As I've never been happy with the performance of Drupal running on behalf nfs shares in vagrant, I've been looking into a simple way to rsync my local changes into a vagrant box. There are separate tools like lsyncd or the deployment features of IDEs, but I wanted to have a simple solution that is easily scriptable.