Have you tried compiling using compass watch
in your testproject root directory, instead of compiling with Sass? Because you created your project with Compass, so you should use Compass to compile.
Foundation 4 sass --watch issue
-
30-05-2022 - |
Question
Brand spanking new to foundation 4,
I've installed all dependancies, compass, sass, and zurb-foundation.
ran compass create testproject -r zurb-foundation --using foundation --syntax sass
... worked fine.
ran sass --watch sass:css
in the testproject directory and I keep getting errors like so...
error /Users/figmints/Sites/testssss/sass/app.sass (Line 5: File to import not found or unreadable: normalize.
Load paths:
/Users/system/Sites/testproject
/Users/system/Sites/testproject/sass)
In the config.rb, the first line is require 'zurb-foundation'
Isn't this supposed to make the file normalize.scss
visible to the project so that I do not have to copy each file located in my gems folder?
Could anyone direct me towards my mistake, please?
Thanks, Seth
Solution 2
OTHER TIPS
As far as I know, there's no sass watch
. What you need to do is:
- Navigate to your project's root folder (which is where your Compass project's
config.rb
should be) through your terminal - Type
compass watch
and hit Enter - See the magic happen (if you have nicely configured your
config.rb
, that is)
A Compass project should be watched by Compass. The watch function is why—IMO—Compass is so nice: it does something Sass naturally doesn't do.