I am using SASS+Compass now for sprite generation The problem is when i am using original config, compass is removing old version of sprite after generating new one, but if i ll add this line
generated_images_dir = "generated_images"
to config, compass is just generating new sprites, but not removing old one.
http_path = "/"
css_dir = "stylesheets"
sass_dir = "sass"
images_dir = "images"
javascripts_dir = "javascripts"
# generated_images_dir = "generated_images"
generated_images_path = "generated_images"
I'm not that familiar with Compass, but the exact same issue came up on Git:
https://github.com/chriseppstein/compass/issues/931
Chris Eppstein (the Compass developer) committed a fix 7 months ago that should clean up images from the right folder. I am guessing you will have to upgrade your version of Compass if it's older than that and your issue should be resolved.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With