Compass is writing changes to mytheme/css/compiled/style.css as it should, however the theme is reading from mytheme/css/style.css, which remains static.

The config file has not been altered:

css_dir = "css/compiled"
sass_dir = "sass"
extensions_dir = "sass-extensions"
images_dir = "images"
javascripts_dir = "js"

My setup is:
Windows 7
XAMPP version 1.7.7
Apache 2.2.21
MySQL 5.5.16 (Community Server)
PHP 5.3.8 (VC9 X86 32bit thread safe) + PEAR
Ruby 1.9.3
Compass 0.12.2

Comments

eigil’s picture

I have the same problem.

I took a simple solution. It won't fix it, but it will work.
I opened the config.rb, and put :
css_dir = "css" instead of css_dir = "css/compiled"

Compass now writes in the directory that the browser reads...

danlinn’s picture

Hi folks!

Thanks for the report. I need better docs about this. I leave it pointing to the regular css for people who aren't using SASS. The solution from eigil is correct if you want to use the sass. I think I may try to hook this into a theme setting... I'll leave this open until I can get to one or the other.

Thanks,
Dan

danlinn’s picture

Status: Active » Needs work
danlinn’s picture

Oops. Re-read #2 a little better. This is NOT the correct solution. It should be changed in the .info file to look in the 'compiled' directory. The thinking behind this is that you clearly label the stuff that's been generated. Sorry for the confusion.

Thanks,
Dan

danlinn’s picture

Assigned: Unassigned » danlinn
twardnw’s picture

I would say this is 'works as designed', but some copy should be added to the README to indicate switching that *if* you choose to use SASS

twardnw’s picture

Version: 7.x-1.7 » 7.x-1.x-dev
Status: Needs work » Fixed

I just committed a patch to -dev that asks if you will be using SASS. If 'yes' (true), it modifies the .info file to look for css/compiled/style.css.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Typo