diff --git a/watch/index.js b/watch/index.js index d2bea3b..41d5580 100644 --- a/watch/index.js +++ b/watch/index.js @@ -12,6 +12,11 @@ module.exports = function (dir, callback) { fs.readFile(file, 'utf8', function (err, fileString) { + if (err) { + console.log('ERROR', err); + return; + } + callback(fileString, file); }); }