file-change-watcher
v1.0.0
Published
Helps to keep an eye on files(e.g. log files) that are likely to change so to get the content that has been added to tracked files as soon as they're changed.
Maintainers
Readme
file-change-watcher
Example of usage:
var fcw = require('file-change-watcher')
// ..
fcw.watchFileChange('test.txt', function(err, data, fileSizeDiff, mtime) {
console.log('err:', err, 'data:', data,
'fileSizeDiff:', fileSizeDiff, 'mtime:', mtime);
});