0.1.6 • Published 11 years ago
changeling v0.1.6
changeling
changeling is a readable stream that watches a file for changes and then outputs its contents.
Install
npm install changeling
Example
var changeling = require('changeling')
changeling('/path/to/file')
.on('error', function(error) {
// An error will be thrown if
// the watched file gets deleted.
})
.pipe(process.stdout)