Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compass is not deleting old sprites after assigning generated_images_dir #931

Closed
mattscilipoti opened this issue Jun 15, 2012 · 0 comments
Closed

Comments

@mattscilipoti
Copy link

If you assign a value to generated_images_dir, the old sprite files are not deleted when new sprites are created.

Example:
Given "app/assets/images/common" has many images
And config.compass.generated_images_dir = 'public/assets'
And Compass has already generated "/public/assets/common-sff832da50b.png"

When we add a new image to "app/assets/images/common"
And we "@import "common/*.png";
Then Compass should generate a new "common" sprite file
And "public/assets/common-sff832da50b.png" should not exist

Observation: the new file is generated, but the old Sprite is not deleted.
Note: this does work correctly if config.generated_images_dir is the default value.

Tested on 0.12.0 and ref:e2b8409646c35e2cb47de3c0ab9d68bac5e9ddca.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants