gruntjs / grunt-contrib-sass

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

Error finding compass imports, when using --compass with --check #233

Open matths opened 8 years ago

matths commented 8 years ago

This took me a while to figure out, but when you are using check: true, compass: true together in die options, these two translate to CLI options to the sass command, which then does complain about:

Error: File to import not found or unreadable: compass/*.

So just omitting check: true does the trick.

As it took me quite some time, I wanted to mention. Maybe it should be fixed in the sass command, but also grunt-contrib-sass could detect this issue easily and give the user some feedback?

Btw. is it correct, that when using compass: true the dest: some/path setting is ignored and instead the setting from config.rb is used?

matths commented 8 years ago

Ignore the last sentence, as dest is not ignored, but cwd is not applied to this, when a path.