nmon

Monitor remote files ( http currently ) for file modifications

Nmon

Fire events when the http header last-modified is changed for a file.

Currently only http is supported

npm install nmon

var nmon = require( 'nmon' );
var mon = new nmon();

mon.create( 'http, {
    interval: 1000,
    name: 'potato',
    url: 'http://localhost:3000/file'
});

mon.on( 'potato', function( date ) {
    console.log( 'potato has been updated: %s', date );
});

mon.monitor();