-
Notifications
You must be signed in to change notification settings - Fork 11
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
Question: Why need for LiveReload? Support for inotify? Two-way sync? Ignore? #7
Comments
Hey! Thanks for the questions, let me try and answer you here:
I originally had Browser-sync baked into this project, but it was leaking memory somehow (I'm guess it's wrapper around vhost). My initial plan is to naively fire a
I imagine that this could happen, with some work. It's currently structured as a
Totally. In the initial setup, the wizard will ask for a comma-separated list of globs (or straight file-paths) relative to the directory your syncing. Example: I'm in Thanks for the kind words. I'll definitely be looking at the |
If you are actually "writing" the files to disk, then you probably already have inotify. inotify is just a linux kernal feature that fires events when file system triggers occur. The only time you don't get inotify is when you have a file system which exists outside of the native FS on the Linux box (ie. NFS, VBoxSF, other network attached file-systems) |
I went ahead and opened a feature request for bi-directional sync here #8 |
A have a few questions, as I have been looking for a more reliable code sync solution for some time (mostly for use between a local OS X file system, and a VM running inside VirtualBox on the same machine).
1 & 2: What is your implementation plan for Live Reload? Is this because the remote mirror does not fire inotify events for watchers like Grunt and Gulp to pick up?
3: Does this, or could this ever, support two-way sync? ie. I am SSH'd in to the dev box, and I do an NPM install --save-dev (which updates the package.json). Could a change on the remote be mirrored back to the local?
4: Can I ignore files to be mirrored?
Great work on the package, and I look forward to more to come.
The text was updated successfully, but these errors were encountered: