Last active
December 18, 2015 10:19
-
-
Save johnkary/5767837 to your computer and use it in GitHub Desktop.
Keep VM directory in sync instead of using VirtualBox shared folders or NFS. Ensure the remote directory exists and is chown vagrant:vagrant
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
while true ; do | |
# gem install vagrant-sync | |
# vagrant sync --from ~/Sites/project --to /project | |
rsync -arq --delete ~/Sites/project [email protected]:/ | |
sleep 1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment