stare

Stare is a inter-process node.js module to manage multiple file watchers.

Stare

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 = require('stare');
var watcher = stare({
    data_file: 'data.js'
});