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

Allow the client to sync multiple directories #28

Open
stephenh opened this issue Nov 19, 2018 · 2 comments
Open

Allow the client to sync multiple directories #28

stephenh opened this issue Nov 19, 2018 · 2 comments

Comments

@stephenh
Copy link
Owner

Right now I invoke mirror client three times, once per directory I want to sync. The mirror server can handle multiple directories, the client should be able to as well.

@nathantsoi
Copy link

I have the same issue. I was wondering if this was the correct way to run the client or if there are performance implications for running it thrice?

No worries if this is the right way to do this!

Also, great work @stephenh, mirror is fantastic!

@stephenh
Copy link
Owner Author

Great, glad you're liking it!

And yep, just running it 3 at a time is fine/what I do. Probably a little wasteful, but I haven't noticed anything that's more annoying than "oh right, I have to run it three times". :-)

Behind the scenes mirror also uses facebook's watchman, which ends up being a single daemon to serve all watchman-driven tools on a box, so it can dedup/manage file watchers as necessary/if needed.

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

No branches or pull requests

2 participants