Share your code.
Stare is a inter-process node.js module to manage multiple file watchers.
With stare, you could avoid duplicately watching a same file or directory because stare instances could share with each other even if they are in different processes.
npm install stare --save
var stare = ;var watcher =;