Sass caching issue in development.

35 views
Skip to first unread message

Mathias Jean Johansen

unread,
Nov 14, 2013, 2:46:50 AM11/14/13
to rubyonra...@googlegroups.com
Hi everyone,

Lately, I've had quite an annoying problem when I work with Sass in Rails. For reasons I cannot figure out, I need to kill the local Rails server instance, "rm -rf tmp/cache" and start the server again to see the changes I've made in app/assets/stylesheets. It obviously affects my productivity why I now seek your help.

Many answers on StackOverflow to similar questions suggest that I add config.assets.cache_store = :null_store and config.sass.cache = false to config/environments/development.rb, but unfortunately that does not help me solve my problem. Other answers suggest that I remove tmp/cache which works in my case, but the problem is that I have to do it every single time I change something in app/assets/stylesheets.

I run Ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-darwin13.0.0] and Rails 3.2.15 on Mac OS 10.9.

I really hope that some of you might have a solution to my problem.

Kind regards,
Mathias Jean Johansen

e...@appcolony.ca

unread,
Jan 6, 2014, 1:57:50 PM1/6/14
to rubyonra...@googlegroups.com
Mathias,

Did you ever find a solution? A few people at my work including myself also have the same issue.

Eric
Reply all
Reply to author
Forward
0 new messages