-
Notifications
You must be signed in to change notification settings - Fork 141
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
SASS partials are not ignored when in globbing pattern #72
Comments
Yup |
Hi Sindre, Thanks for your reply. But what do you mean? Is it an error? Or am I doing something wrong (if so: how can I solve it)? Thanks |
It's a bug. |
Any progress on this one, or tips for globbing patterns that will ignore files starting with _? |
@andrewmartin here is the basic globbing pattern to ignore the underscore files src: [
"**/*.scss",
"!**/_*.scss"
] |
Same issue here src: ["**/*/*.{scss, sass}", "!**/*/*.{scss, sass}"] |
@makabde your missing the |
@nschonni Thanks for the hint. |
Any progress on this one? |
This matches the expected behaviour in Ruby globbing Fixes gruntjsgh-72
This matches the expected behaviour in Ruby globbing Fixes gruntjsgh-72
Very nice, was going to work on this now. Looks good to me, thanks! |
grunt-contrib-sass is compiling my sass partials into css files even when I use the convention from the sass website ("_" in front of filename).
situation:
A folder /styles/style.scss which imports a bunch of partials from the /styles/partials/ directory. Each partial file has an underscore attached to its filename as required in the SASS convention.
When watching a SASS source folder with following globbing pattern
it also renders each partial in the /styles/partials directory as a seperate css file. I don't believe this is expected behaviour? Or am I doing something wrong here?
PS: I know when changing the "src" property to
it works but sass should ignore files starting with an underscore, right?
The text was updated successfully, but these errors were encountered: