stare

0.1.3 • Public • Published

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.

Installation

npm install stare --save

Usage

var stare = require('stare');
var watcher = stare({
    data_file: 'data.js'
});

Methods

watcher.watch(patterns, callback)

watcher.unwatch(patterns, callback)

Dependencies (7)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i stare

    Weekly Downloads

    0

    Version

    0.1.3

    License

    MIT

    Last publish

    Collaborators

    • kael