I have installed the grunt task grunt-contrib-copy. I embedd it in my Gruntfile.js and load the task via grunt.loadNpmTasks(\'grunt-contrib-c
grunt-contrib-copy
Gruntfile.js
grunt.loadNpmTasks(\'grunt-contrib-c
I wanted to exclude all .gz files in my copy and this options did the job for all folders
{ expand: true, cwd: './build/www/', src: [ '**', '!**/*.gz' ], dest: './mydDest' }
So may be try !**/*.less, !gruntfile.js (no parens)
!**/*.less, !gruntfile.js