hawx / guard-sass

Guard::Sass automatically rebuilds sass files when modified (like sass --watch)
MIT License
88 stars 35 forks source link

debug_info doesn't export full debug information. #34

Closed aclabaugh closed 12 years ago

aclabaugh commented 12 years ago

When I run guard-sass with the :debug_info option set to true I get the follow partial debug code.

@media -sass-debug-info{filename{}line{font-family:\0000310}}

When I run sass directly in the same directory, I get the full debug output.

@media -sass-debug-info{filename{font-family:file\:\/\/\/var\/www\/html\/clients\/sandbox\.com\/www\/andy\/sass\/_ui\/skin\/sass\/main\.scss}line{font-family:\0000310}}

Any idea what would cause the difference?

hawx commented 12 years ago

I wasn't passing the file name to Sass, so it was leaving it empty as you could see. Fixed now. Thanks for telling me.