multi-watcher

0.1.2 • Public • Published

Multi-watcher

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

With multi-watcher, you could avoid duplicately watching a same file or directory because multi-watcher instances could share with each other even if they are in different processes.

Installation

npm install multi-watcher --save

Usage

var multi_watcher = require('multi-watcher');
var watcher = multi_watcher({
    data_file: 'data.js'
});

Methods

watcher.watch(patterns, callback)

watcher.unwatch(patterns, callback)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.2
    3
  • 0.1.0
    1

Package Sidebar

Install

npm i multi-watcher

Weekly Downloads

4

Version

0.1.2

License

MIT

Last publish

Collaborators

  • kael