sshync
sshync copied to clipboard
fs.watch does not work on Ubuntu
This is a great tool, but I just notice that it does not work on Ubuntu because fs.watch is not available. It would be nice to explicitly on the README.
True, on linux the recursive
option does not work (see https://nodejs.org/api/fs.html#fs_caveats). There are other ways to watch recursively, the most viable option is probably chokidar. I would accept a PR that replaces fs.watch
.
Thank you! I am not a node user, but sshync is easy to understand so I will try to create a PR soon.