Quantcast
Channel: Disable Sprockets asset caching in development - Stack Overflow
Browsing all 4 articles
Browse latest View live

Answer by hammady for Disable Sprockets asset caching in development

The accepted answer is not doing it correctly and it degrades the performance in development by disabling cache totally. Answering your original question, you want changes to referenced files to...

View Article



Answer by MetaSkills for Disable Sprockets asset caching in development

I created the following gist (https://gist.github.com/metaskills/9028312) that does just this and found it is the only way that works for me. # In config/initializers/sprockets.rb require 'sprockets'...

View Article

Answer by Old Pro for Disable Sprockets asset caching in development

Here's the magic incantation: config.assets.cache_store = :null_store # Disables the Asset cache config.sass.cache = false # Disable the SASS compiler cache The asset pipeline has it's own instance of...

View Article

Disable Sprockets asset caching in development

I'm using Rails 3.2.13 and the Rails Asset Pipeline. I want to use the Asset Pipeline so I can use SASS and CoffeeScript and ERB for my assets and have the Pipeline automatically compile them, so I...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images