Closed stephennancekivell closed 11 years ago
Doesn't Grunt support this with its built in Globbing patterns, or are you saying that this plugin somehow doesn't respect it?
One more part, you have to specify the whitelist, then the blacklist (i.e. !app/assets
) for this to work.
Closing out this issue. It should be solved in both the complete rewrite and Grunt's existing docs:
https://github.com/ericclemmons/grunt-angular-templates/pull/38 http://gruntjs.com/configuring-tasks#globbing-patterns
You should be able to add paths to ignore to the src option.
For example my project has a a folder app/assets/libs that I want to ignore.
My work around is set src: ['app/A/*/.html', 'app/B/**/.html']. But what want is src: ['!app/assets/_', 'app/_/.html']
Thanks.