Littlebobbydroptables
Littlebobbydroptables

Reputation: 3741

Sass/Compass not removing old sprite

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"

Upvotes: 7

Views: 661

Answers (1)

Tracy Fu
Tracy Fu

Reputation: 1662

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.

Upvotes: 7

Related Questions