DEV Community

Discussion on: How to keep all dev files in sync when switching computers constantly?

Collapse
 
digizeph profile image
Mingwei Zhang

I use resilio sync to sync my dev folders for all my machines. Sometimes it gets crazy when I’m doing compilation tasks, like thousands of temporary files generated and deleted. In general, I just leave it running and never need to think I about synchronize folders. It also works on all platforms, and syncs with my Synology nas.

I started using it since it was called “bt sync” back then, and it has been working well enough that I have never thought about changing to other alternatives.

Collapse
 
omarel profile image
Omar Elbaga

Yeah I found these cloud sync solutions. What you're going through seems to be a common problem of these online sync solutions with dev files. I found some hacks of storing node_modules outside the sync directories, but it's kind of another hassle to deal with. I'm still testing. It would be great if a solution existed just for development. It would definitely take off.

Collapse
 
digizeph profile image
Mingwei Zhang

You can specify resilio to not sync certain folders, matched by regex I believe.