Renaud, There isn't a built-in mechanism into Vagrant (now or in 1.5) that will support bi-directional sync PLUS inotify. You can try to write your own synced folder plugin or just manually use something like `unison` to do this, though.
Best, Mitchell On Thu, Feb 27, 2014 at 4:56 AM, Renaud Guerin <[email protected]>wrote: > Hi, > > tl;dr : I haven't found a solution that ticks all of the boxes in the > subject, do you know one ? > > My use case should be fairly common : I'd like to share a source tree > directory (4-5k files) on the host (MacOS) so devs can edit there, but also > have Compass inside the (Ubuntu) guest watch for any changes and recompile > assets (i.e. write to this directory too) > > Where it might be less common is that ideally, the devs would like at > least some of the assets produced by Compass inside the guest (pngcrushed > images) to be available on the host too, for easy committing back into git > in their optimized form. > > I've tried Virtualbox + NFS shared folders : they do the job functionally, > but neither supports inotify. > In polling mode, Compass uses 70% CPU on a recent Macbook : not really > practical. > > The rsync-auto mode in Vagrant 1.5 is looking good, but it's not going to > be bidirectional. > > I suspect we'll have to revisit the dev workflow and compromise somewhere, > but if you know of a solution that does all of that, that would be > appreciated. > > Thanks ! > > -- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
