gruntjs / grunt-contrib-sass

Compile Sass to CSS.
http://gruntjs.com/
MIT License
848 stars 141 forks source link

Sass is ignoring one of the files #169

Closed kwisatz closed 9 years ago

kwisatz commented 9 years ago

On a fresh install of grunt-contrib-sass 0.7.4, I have the issue that one of the files I specify in my Gruntfile is being ignored:

Running tasks: sass

Running "sass" task

Running "sass:dist" (sass) task
Verifying property sass.dist exists in config...OK
Files: vendor/twbs/bootstrap-sass/assets/stylesheets/_bootstrap.scss -> web/css/bootstrap.css
Files: assets/styles/feedback.scss -> web/css/feedback.css
Options: (none)
Command: sass assets/styles/feedback.scss web/css/feedback.css
File web/css/feedback.css created.

Done, without errors

The file exists (or grunt would say so) and when I run sass manually, it compiles just fine. The odd thing here is that even though it lists the file in Files: it just doesn't pass it to Command:

I have run this on another machine and there it would work. I'll check back in later when I have access to that machine to see what, if any, differences there are to this setup.

kwisatz commented 9 years ago

Well, this isn't working on the other machine either. Turns out the issue is the _ in _bootstrap.scss I understand why it wouldn't touch that (since _files are usually includes/imports) but maybe a warning message might be in order?