Closed goosetav closed 11 years ago
sidenote: glob imports are a feature added by sass-rails since 3.1 (see chriseppstein/sass-globbing)
Thanks for mentioning this! I've started working on glob support for @import
, and it should be done pretty soon.
Hi there, this should all be fixed. Please update to 0.1.17
and let me know if you still experience any issues.
I've decided to back down from my monkey-patching approach, and just process the Sass / Less files if they contain an @import
directive. Processing will only take an extra second or two, but the change detection will be completely bullet-proof, since all the registered importers will be run properly.
Thanks for your help!
sass allows imports using wildcards -
@import foo/*
- changes to file imported this way are not detected properlyexample (see goosetav/turbo-trouble):
First, make sure we're in a "first run" state:
Example of
@import
that was fixed by #13 - this works greatMaking a change to a scss file imported through the
@import "dir/*"
-- this does not trigger a re-compile