Compass is creating the same sprite map multiple times

399 views Asked by At

This is resulting in an insane compile time: ~20 seconds. Notice that it creates the global-s9e3ed7fd2e.png image 5 times, as opposed to just once for mobile & once for desktop.

I only see @import "sprites/global/*.png"; being called twice, hence my confusion.

Here's the config file: jsfiddle

enter image description here

1

There are 1 answers

1
xphong On BEST ANSWER

Try setting force:false on your compass config options, there was a previous issue that caused sprites to be regenerated.

Compilation with Compass and sprites is slow regardless. I had a similar problem: Grunt with Compass and Watch compiles slow