Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to files inside the host do not trigger a sync (unison) #48

Closed
mrfelton opened this issue Jul 13, 2016 · 3 comments
Closed

Changes to files inside the host do not trigger a sync (unison) #48

mrfelton opened this issue Jul 13, 2016 · 3 comments
Labels

Comments

@mrfelton
Copy link

With a unison sync setup, adding/modifying files within the container does not cause those files to be synced back to the host. The only thing that seems to trigger a sync from the container back to the host is touching a watched file outside of the container.

Is this expected behavior? I had expected 2way sync to automatically detect changes made in either location.

@mickaelperrin
Copy link
Contributor

I am currently working on this, see #47

@EugenMayer
Copy link
Owner

EugenMayer commented Jul 14, 2016

also see #42 as an alternative implemantion. 2 way sync right now stands for syncing back changes from the container to the host ( noch only host to container ) when you trigger the sync. Right now it is not possible to detect when to sync "on changes" in the container, only on the host.

You can manually sync for now using

docker-sync sync

as @mickaelperrin mentioned, different angles are for now taken to tackle this. I leave this issue open to avoid people creating another dupe. Later i would just close this issue and working on the other issues as the follow up

@EugenMayer
Copy link
Owner

@mrfelton with the new release, 0.0.14, a new strategy will be available, called unison-dualside implemented by @mickaelperrin . Its already merged into the master and support sync trigger from host and from container, so full transparency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants