daleanthony / uno

Uno - a minimal, responsive theme for Ghost
492 stars 162 forks source link

Problems running sass --watch #8

Closed mgan59 closed 10 years ago

mgan59 commented 10 years ago

I'm new to sass and bourbon but have gem installed sass and bourbon and have a working Ghost development environment. I grabbed this theme and made the necessary adjustments I wanted. To build the sass I figured I'd just use the watch command

morgan.craft@mcraft:~/ghost-themes/uno/assets (morgancraft)$ sass --watch scss:css
>>> Sass is watching for changes. Press Ctrl-C to stop.
      error scss/uno.scss (Line 1: File to import not found or unreadable: bourbon.
Load paths:
  ~/ghost-themes/uno/assets
  ~/ghost-themes/uno/assets/scss)

So I though oh maybe I need to do something with bourbon so I looked at those docs and went into the scss/ directory and ran

bourbon install

which added a bourbon/ folder

I went back up to the assets folder and ran the command again to watch and same error.

Not sure if this is the best place to ask, figured you might be able to shed some light on the issue and I was planning to update the readme with instructions on usage for those of us that are unfamiliar with Sass/Bourbon.

Cheers!

mgan59 commented 10 years ago

I followed the install instructions here - http://bourbon.io/

and changed the top of uno.scss

to use

@import 'bourbon/bourbon';

and now it works. Want me to issue a pull-request?

mgan59 commented 10 years ago

Sorry for MIA, my machine died the other day and had to set everything up again. With the new machine I was running Maverick and found a sass --watch issue that pertains to the this project. Please review the readme.md changes as I think it will help onboard others working with ghost-themes that are using sass/bourbon