mirror of https://github.com/Radarr/Radarr
fixed less grunt watch
This commit is contained in:
parent
1f7d57c2c2
commit
e3916d5fc8
32
Gruntfile.js
32
Gruntfile.js
|
@ -60,23 +60,19 @@ module.exports = function (grunt) {
|
||||||
dest: destContent + 'bootstrap.css'
|
dest: destContent + 'bootstrap.css'
|
||||||
},
|
},
|
||||||
general : {
|
general : {
|
||||||
files: [
|
expand :true,
|
||||||
{
|
src : [
|
||||||
expand: true,
|
'UI/Content/base.less',
|
||||||
src : [
|
'UI/Content/overrides.less',
|
||||||
'UI/Content/base.less',
|
'UI/Series/series.less',
|
||||||
'UI/Content/overrides.less',
|
'UI/AddSeries/addSeries.less',
|
||||||
'UI/Series/series.less',
|
'UI/Calendar/calendar.less',
|
||||||
'UI/AddSeries/addSeries.less',
|
'UI/Cells/cells.less',
|
||||||
'UI/Calendar/calendar.less',
|
'UI/Logs/logs.less',
|
||||||
'UI/Cells/cells.less',
|
'UI/Settings/settings.less',
|
||||||
'UI/Logs/logs.less',
|
],
|
||||||
'UI/Settings/settings.less',
|
dest : outputRoot,
|
||||||
],
|
ext: '.css'
|
||||||
dest : outputRoot,
|
|
||||||
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…
Reference in New Issue