Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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
})
Something went wrong with that request. Please try again.