lib/probes/FileProbe.js
function() {
      FS.readFile(path, options.encoding, function(err, text) {
        if (err) {
          // Forward the error
          return callback(err);
        }
        // Success
        callback(null, text.toString());
      });
    }
function() {
      FS.readFile(path, options.encoding, function(err, text) {
        if (err) {
          // Forward the error
          return callback(err);
        }
        // Success
        callback(null, text.toString());
      });
    }
function ( ) { FS . readFile ( path , options . encoding , function ( err , text ) { if ( err ) { // Forward the error return callback ( err ) ; } // Success callback ( null , text . toString ( ) ) ; } ) ; }
Build the function to call when the file changes
Build the function to call when the file changes