force refresh on page load in development mode

This commit is contained in:
cloudhead 2010-07-01 11:09:24 +02:00
parent e659555279
commit b34aa0d217

View File

@ -99,7 +99,7 @@ less.refresh = function (reload) {
}, reload);
};
less.refresh();
less.refresh(less.env === 'development');
function loadStyleSheets(callback, reload) {
for (var i = 0; i < less.sheets.length; i++) {