Skip to content

Commit

Permalink
Use grunt.file.expand to support exclusions. Closes GH-30.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonsanjose authored and shama committed Dec 22, 2012
1 parent b7e3551 commit c36fea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ module.exports = function(grunt) {
target.files = [target.files];
}
// Get patterns to glob for this target
var patterns = grunt.util._.chain(target.files).flatten().uniq().value();
var patterns = grunt.file.expand(target.files);

// Default options per target
var options = grunt.util._.defaults(target.options || {}, defaults);
Expand Down

0 comments on commit c36fea1

Please sign in to comment.