Caching of imported stylesheets


#1

Hi there

I’ve created a custom theme according to the Theming Guide and also switched my Piwik to „development mode“. So if I make any change in theme.less I can immediately see the result in the browser. However, this is not true for a stylesheet which is imported into theme.less via an @import statement. If I make a change to an imported stylesheet I can not see the result in the browser until I made a change to theme.less and saved it. So I wonder if there is a way to disable the caching of imported stylesheets…


(Matthieu Aubry) #2

This is a bug in the Theming. Can you please create a ticket at: dev.piwik.org
The only way is to run “rm tmp/assets/* -f” during changes to have the CSS re-compile