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

$ms-range prints a bunch of DEBUG statements when compiling with libsass #94

Closed
sondr3 opened this issue Apr 6, 2015 · 3 comments
Closed

Comments

@sondr3
Copy link

sondr3 commented Apr 6, 2015

Hey, sorry for not following up on the last issue, kinda forgot about it. I'll look at it ASAP since I have a bunch of time off now.

However, I'm playing around with the $ms-range variable so I can use the @include ms-respond include to create some responsive type, however when I do this it makes gulp-sass output a bunch of DEBUG statements in the terminal:

src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.2 20em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.3 30em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.4 40em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.5 50em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.6 60em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.7 70em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.2 20em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.3 30em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.4 40em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.5 50em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.6 60em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.7 70em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.2 20em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.3 30em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.4 40em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.5 50em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.6 60em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.7 70em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.2 20em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.3 30em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.4 40em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.5 50em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.6 60em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.7 70em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.2 20em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.3 30em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.4 40em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.5 50em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.6 60em
src/assets/scss/vendor/modular-scale/_respond.scss:6: DEBUG: 1.7 70em

I was wondering if you knew any way you could possible silence this output? It's kinda annoying looking at a ton of lines flying by every time I make a minor change to some stylesheets, hah.

@scottkellum
Copy link
Member

Thanks for the report! Yeah probably some debug thing I left in that needs to be removed. Sorry about that.

@pushontom
Copy link

@scottkellum

It's in https://github.com/modularscale/modularscale-sass/blob/1d504ba8c802e83946e9df0ad95afe6543efde61/stylesheets/modular-scale/_respond.scss

Line 6, if you comment that it removes the output. Thanks for the work on this though, it's really useful

Removing this line improved compile time by 2s, so definitely worth fixing

@scottkellum
Copy link
Member

So, I got distracted and I’m doing a pretty major overhaul of the ms-respond mixin. Basically fully fluid steps instead of jumps from each step. See http://madebymike.com.au/writing/precise-control-responsive-typography/

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

3 participants