I am working on a small NodeJS application that essentially serves as a browser based desktop search for a LAN based server that multiples users can query. The users on the
I recommend you to take a look at the Dropbox API.
I implemented something similar with ruby on the client side and nodejs on the server side. The best approach is to keep hashes to check if the files or folders changed.
Have a look at monit. I use it to monitor files for changes in my dev environment and restart my node processes when relevant project files change.