fixed less grunt watch

pull/3113/head
Keivan Beigi 11 years ago
parent 1f7d57c2c2
commit e3916d5fc8

@ -60,9 +60,7 @@ module.exports = function (grunt) {
dest: destContent + 'bootstrap.css' dest: destContent + 'bootstrap.css'
}, },
general : { general : {
files: [ expand :true,
{
expand: true,
src : [ src : [
'UI/Content/base.less', 'UI/Content/base.less',
'UI/Content/overrides.less', 'UI/Content/overrides.less',
@ -74,9 +72,7 @@ module.exports = function (grunt) {
'UI/Settings/settings.less', 'UI/Settings/settings.less',
], ],
dest : outputRoot, dest : outputRoot,
ext : '.css' ext: '.css'
}
]
} }
}, },
@ -143,7 +139,7 @@ module.exports = function (grunt) {
tasks: ['less:bootstrap','less:general'] tasks: ['less:bootstrap','less:general']
}, },
generalLess: { generalLess: {
files: '<%= less.general.files[0].src %>', files: ['UI/**/*.less', '!**/Bootstrap/**', '!**/FontAwesome/**'],
tasks: ['less:general'] tasks: ['less:general']
}, },
handlebars : { handlebars : {

Loading…
Cancel
Save