hawx / guard-sass

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

Use Sass::Plugin.template_location_array for load_paths #27

Closed pjg closed 12 years ago

pjg commented 12 years ago

Use template locations from SASS instead of globbing all subdirectories of the current project.

This also enables guard-sass to work with Compass (otherwise @import "compass" does not work because it's outside of the load path).

Also see my original problem with this: http://stackoverflow.com/questions/10836884/cannot-make-compass-guard-sass-to-work

hawx commented 12 years ago

This is perfect, I knew there would be a better way than what I'd got. Thanks!

pjg commented 12 years ago

Wow. Great! I wasn't really 100% sure I made the right choice with this change. Hopefully it won't break for others.