Question

I'm playing around with this package of Sinatra and Coffeescript and can't seem to clear the asset pipeline. When I update backbone.js to the most recent version, the app (run with shotgun watch) continues to serve the version of backbone.js that I've just replaced!

I am sure there is a rake command or something to clear the asset pack, but I cannot find it in any of the documentation.

rake assets:clean is telling me that rake doesn't know that task.

No correct solution

OTHER TIPS

Seems like you aren't cache busting properly. Have you looked into using Sinatra Asset Pack for your asset management? It has support for coffescript and will automatically bust your cache so new changes will be recognized right away.

Another option is to just clear your cache with a hardreload, shift+f5 or clear it manually in your browser.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top