No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
kvack.js
package.json

README.md

kvack lets you watch a specific file path for changes. Because watchers are tied to paths rather than specific files, they report create and delete events in addition to modify events.

Usage

var kvack = require('kvack')
  , watcher = kvack('/path/to/file')

watcher.on('change', function (event) {
  // the event will be either 'create', 'modify' or 'delete'; specific
  // events are emitted alongside the general 'change' event
})