Sass / Compass does not delete the old sprite

I use SASS + Compass to create sprites. The problem is that when I use the original configuration, the compass deletes the old version of the sprite after creating a new one, but if I add this line

generated_images_dir = "generated_images" 

to config, the compass simply generates new sprites, but does not delete the 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" 
+7
source share
1 answer

I am not familiar with Compass, but the exact same problem came up on Git:

https://github.com/chriseppstein/compass/issues/931

Chris Eppstein (developer of Compass) made a fix 7 months ago, which should clear images from the right folder. I assume that you will have to upgrade the version of Compass if it is older than this and your problem should be resolved.

+7
source

All Articles