Open sch5 opened 9 years ago
@sch5 can you paste your config.rb
here?
Hello.
http_path = "/skin/frontend/chilewich/default/"
css_dir = "../css"
sass_dir = "../scss"
images_dir = "../images"
javascripts_dir = "../js"
relative_assets = true
add_import_path "../../../rwd/default/scss"
output_style = :expanded
environment = :production
the above was the original config.rb, which has been extended by compass.app with the following block:
css_dir = "../css" # by Compass.app
sass_dir = "../scss" # by Compass.app
images_dir = "../images" # by Compass.app
output_style = :expanded # by Compass.app
relative_assets = true # by Compass.app
line_comments = false # by Compass.app
sass_options = {:debug_info=>false} # by Compass.app
sourcemap = false # by Compass.app
this was probably added to the rb file because i changed some settings in the compass.app menus.
In Magento RWD the folder structure designed to work as an overriding (fallback) model where the RWD template remains untouched while the user-made changes will only override the original files in a parallel folder topology. This model applies to the scss/ folder which holds the stylesheets that need to be compiled by compass. By writing an add_import_path to the config.rb makes this possible to work ( Sass Fallback Structure - http://devdocs.magento.com/guides/m1x/ce19-ee114/RWD_dev-guide.html#advanced ) however compass's watch doesn't seem to honor this model and won't recognize the new files as changes, so the compile will never occure. The watch appears to work on the original file structure only. I can manually force a recompile by using Compass.app's menu which applies the changes immediately since config.rb directs Sass to apply the fallback model.