Join GitHub today
It would be nice to explain why you recommend this? #79
So on the home page you have mentioned that:
Why are Sprocket's
Sprockets compiles each file individually, so mixins or variables to set in one file do not work in another; hence, all the mixins and variables available via Bootstrap are not within the scope of your own files, so you can't use them.
Import basically imports the files together and then they are compiled, allowing you to override and use Bootstrap.
Sorry if this is misinformed; but then doesn't this mean that you lose the performance improvements of only having to recompile the single SASS file that's been changed, when in a development environment? I suspect that not using sprockets (in order to use mixins) is the reason I have to wait ~2-3 seconds each time I want to recompile my CSS.
EDIT: Aha! Think I found a really nice solution; instead of having to
@import "bootstrap/variables"; @import "bootstrap/mixins";
whenever I need mixins in scope. I've got < 100ms compile times again :)