Remove global watch on less files. Only watch the places we put them, reduces grunt CPU by 70%. Closes #375

This commit is contained in:
Rashid Khan 2014-09-23 16:27:41 -07:00
parent 5d39d334ea
commit 9d33e4d202

View file

@ -6,15 +6,16 @@ module.exports = function (grunt) {
],
tasks: ['mocha:unit']
},
less: {
files: [
'<%= app %>/**/*.less',
'<%= app %>/**/styles/**/*.less',
'<%= app %>/**/components/**/*.less',
'<%= app %>/**/components/vislib/components/styles/**/*.less'
],
tasks: ['less']
},
jade: {
files: [
'<%= unitTestDir %>/index.jade'