Gaya / Retina-Sprites-for-Compass

Allow to use sprites in retina with Compass.
160 stars 31 forks source link

_retina-sprites.scss performance improvement #14

Closed hank7444 closed 9 years ago

hank7444 commented 9 years ago

the sprite image are remove - rebuild many times also,

it waste a huge performance and sometimes cause sass building css failed. I use @import to switch the sprite-map() function, now it's good to work:)

it only check sprite image one time after I saved file :)

hank7444 commented 9 years ago

sorry, I found some mistake, My method is not work in this situation :(

Gaya commented 9 years ago

So sprite-map performs bad? Maybe I can take a look?

hank7444 commented 9 years ago

the issue is here: https://github.com/Compass/compass/issues/897 it's compass bug, it happen sometime on Windows system, It seems un-repaired unitl now

Gaya commented 9 years ago

Alright, thanks for taking the time to look into this.

hank7444 commented 9 years ago

Hi Gaya, I found it is gulp-compass problem, it is always process all sass file on the folder every time I saved one sass file. It's not really border me on mac(macbook pro retina, ssd harddisc), but my coworkers get pains by horrible freeze time and a unpredictable crash!

Now My solution is open two command tool, one runs my gulp script, another one runs compass watch. finally it is working well :) Just upgrade the information for you, happy & merry christmas!

Gaya commented 9 years ago

Thanks for the update! Glad it's not a Compass problem but a plugin. Have a nice holiday too