Compass does not restore sprite after image name

I just installed and tried the compass.

I did compass create compass_test

I create an images / icons folder and put several .png files in it. In sass, I create an icons.scss file with

 @import "icons/*.png"; @include all-icons-sprites; 

When I do compass compile for the first time or when I add a new file, it generates a sprite and css file. But when I change the name of the .png file or delete it, it does not notice the difference.

Can I ask the compass to recompile the file when changing or deleting the file name?

Thanks for the help!

+4
source share
1 answer

Delete the generated stylesheet that imports the sprite directory.

+3
source

Source: https://habr.com/ru/post/1432573/


All Articles