Skip to content

Instantly share code, notes, and snippets.

@sbward
Created November 15, 2014 20:38
Show Gist options
  • Save sbward/66db130def7b0e77b025 to your computer and use it in GitHub Desktop.
Save sbward/66db130def7b0e77b025 to your computer and use it in GitHub Desktop.
  1. install rsync on boot2docker VM
  2. install rsync locally
  3. install fswatch locally
  4. configure docker image to use a data volume, "/mnt/node_src" or whatever. this is a directory inside the VM. do not make this into a shared folder
  5. configure rsync to send your local node source directory to the VM into the "/mnt/node_src" directory (it does this via the network, not vbox shared folders)
  6. configure fswatch locally to trigger rsync when your source code changes
  7. configure forever to watch "/mnt/node_src" for changes in the VM
  8. ?????
  9. profit!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment