Skip to content
Browse files

Use grunt.file.expand to support exclusions. Closes GH-30.

  • Loading branch information...
1 parent b7e3551 commit c36fea196618e5b3c6c3d294f8d6bea59e408415 @jasonsanjose jasonsanjose committed with shama Dec 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tasks/watch.js
View
2 tasks/watch.js
@@ -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);

0 comments on commit c36fea1

Please sign in to comment.
Something went wrong with that request. Please try again.