Answer the question
In order to leave comments, you need to log in
Synchronization of two Node.JS folders?
It is necessary to synchronize two folders on the server using Node.JS
Let's say there is a folder avatars , which has subfolders and they have files (png avatars).
Task: when changing the avatars folder , copy the changes to the avatars_two folder .
Interested in the finished module. Nobody met?
Answer the question
In order to leave comments, you need to log in
Maybe just make a symlink?
But if NodeJS is interested, then this is the fs.watch() method .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question