leighmcculloch / docker-unison

A docker data container using Unison for fast folder sync. An alternative to slow boot2docker volumes on OS X.
GNU General Public License v3.0
167 stars 26 forks source link

Use -repeat watch option #17

Open konyu opened 7 years ago

konyu commented 7 years ago

at README.md

You could combine it with fswatch to sync automatically when files change: $ fswatch -o . | xargs -n1 -I{} unison . socket://:5000/ -ignore 'Path .git' -auto -batch

Unison has "-repeat watch" option to sync automatically files. This option doesn't need fswatch.

michaelfavia commented 7 years ago

Works perfectly Thanks!