Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compass.app does not update (re-discover) folder topology #306

Open
sch5 opened this issue Jul 5, 2015 · 2 comments
Open

compass.app does not update (re-discover) folder topology #306

sch5 opened this issue Jul 5, 2015 · 2 comments

Comments

@sch5
Copy link

sch5 commented Jul 5, 2015

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.

@hlb
Copy link
Contributor

hlb commented Jul 6, 2015

@sch5 can you paste your config.rb here?

@sch5
Copy link
Author

sch5 commented Jul 21, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants