Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sass/Compass not removing old sprite

Tags:

css

sass

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"
like image 683
MyMomSaysIamSpecial Avatar asked Jan 11 '13 13:01

MyMomSaysIamSpecial


1 Answers

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.

like image 72
Tracy Fu Avatar answered Oct 29 '22 12:10

Tracy Fu