Knotendatei Änderung des Ereignishörers

fs.watch('foo', function (event, filename) {
  if (event == 'change') {
    // Load file content
    // Compare to one previously loaded
    // actualContent = newContent
  }
});
Clever Centipede