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
Comment #1
eigil commentedI 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...
Comment #2
danlinn commentedHi 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
Comment #3
danlinn commentedComment #4
danlinn commentedOops. 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
Comment #5
danlinn commentedComment #6
twardnw commentedI 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
Comment #7
twardnw commentedI 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.
Comment #8.0
(not verified) commentedTypo