From 446fa7f49d6b411cf06b6311286811d7eaed4700 Mon Sep 17 00:00:00 2001 From: letmecode Date: Sun, 12 Apr 2015 23:12:26 +0200 Subject: [PATCH] Corrected misreference An example in the README.md was referencing a non-existent variable. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a2514d5..727cf9f 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ nodemon({ , ext: 'js css' , tasks: function (changedFiles) { var tasks = [] - files.forEach(function (file) { + changedFiles.forEach(function (file) { if (path.extname(file) === '.js' && !~tasks.indexOf('lint')) tasks.push('lint') if (path.extname(file) === '.css' && !~tasks.indexOf('cssmin')) tasks.push('cssmin') })