Rails using cached application.css despite changes

后端 未结 9 599
萌比男神i
萌比男神i 2020-12-30 00:53

I have a Rails 3.1 application that uses SASS. The application.css.scss file looks like:

@import \'reset.css\';
@import \'960.css\';
@import \'p         


        
9条回答
  •  悲哀的现实
    2020-12-30 01:45

    I had a similar issue with Rails 6.0.3.1 today. I had to re-touch application.scss so that rails didn't use the cached version.

    Running rake tmp:cache:clear helped, but it's annoying because I had to run the command every time I updated any partial scss file. :(

提交回复
热议问题