monocle
a tool for watching directories for file changes
Last updated 14 years ago by samccone .
BSD · Original npm · Tarball · package.json
$ npm install monocle 
SYNC missed versions from official npm registry.

Build Status

Monocle -- a tool for watching things

logo

Have you ever wanted to watch a folder and all of its files/nested folders for changes. well now you can!

npm install monocle

var Monocle = require('monocle')

(new Monocle).watchDirectory(dir, cb, watchSetupComplete, fileFilers, directoryFilters);

or watch an array of files

(new Monocle).watchFiles(files[], cb, watchSetupComplete);

the callback gets the filename that was modified

Filters

Current Tags

  • 1.1.51                                ...           latest (13 years ago)

17 Versions

  • 1.1.51                                ...           13 years ago
  • 1.1.50                                ...           13 years ago
  • 0.1.50                                ...           13 years ago
  • 0.1.48                                ...           14 years ago
  • 0.1.47                                ...           14 years ago
  • 0.1.46                                ...           14 years ago
  • 0.1.45                                ...           14 years ago
  • 0.1.43                                ...           14 years ago
  • 0.1.42                                ...           14 years ago
  • 0.1.41                                ...           14 years ago
  • 0.1.40                                ...           14 years ago
  • 0.1.4                                ...           14 years ago
  • 0.1.3                                ...           14 years ago
  • 0.1.2                                ...           14 years ago
  • 0.1.15                                ...           14 years ago
  • 0.1.1                                ...           14 years ago
  • 0.1.0                                ...           14 years ago
Maintainers (1)
Downloads
Total 61
Today 0
This Week 7
This Month 28
Last Day 0
Last Week 20
Last Month 17
Dependencies (2)
Dev Dependencies (1)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE