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)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.3
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.3
    0
  • 0.0.0
    0

Package Sidebar

Install

npm i stare

Weekly Downloads

0

Version

0.1.3

License

MIT

Last publish

Collaborators

  • kael