alumna / reflect

Reflect the contents of one directory to another. At the speed of light. :zap:
MIT License
16 stars 1 forks source link

Reflect to remote server #14

Open LbISS opened 3 years ago

LbISS commented 3 years ago

One of the basic usage of rsync is to watch&deploy a lib to remote server during development. It'll be cool to suppot here remotes.

Currently, when dest is remote the error appers:

EINVAL: invalid argument, mkdir 'C:\Projects\someProject\login@serverUrl.com:\usr\local\packages\ui'
paulocoghi commented 9 months ago

Thank you, Dmitriy! For some reason, notifications on this repository were disabled for me. I'm returning to full activity on all my repositories, and I will look into this issue.

I can anticipate that the way reflect was develop, it currently can't support remote locations on its own, but it can support remote locations pre-mounted on your file system. Its first purpose was to provide a pure javascript way to synchronize two local directories.

But I do understand that adding support for remote locations is desired. I will do my research and look for smart ways to add native support for this (again, in pure javascript).