force refresh on page load in development mode
This commit is contained in:
parent
e659555279
commit
b34aa0d217
@ -99,7 +99,7 @@ less.refresh = function (reload) {
|
|||||||
}, reload);
|
}, reload);
|
||||||
};
|
};
|
||||||
|
|
||||||
less.refresh();
|
less.refresh(less.env === 'development');
|
||||||
|
|
||||||
function loadStyleSheets(callback, reload) {
|
function loadStyleSheets(callback, reload) {
|
||||||
for (var i = 0; i < less.sheets.length; i++) {
|
for (var i = 0; i < less.sheets.length; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user