diff --git a/README.md b/README.md index 55741bd..9c28e14 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ var onChange = grunt.util._.debounce(function() { var options = grunt.config('jade.compile.options'); var dependantFiles = []; - files.forEach(function(filename) { + changedFiles.forEach(function(filename) { var directory = options.basedir; var inheritance = new JadeInheritance(filename, directory, options); dependantFiles = dependantFiles.concat(inheritance.files);