Hi,

1- How can I specify the directory of the generated css file? I need it to be on the same scss directory. It is now automatically generating the css file in files/css directory.

2-If I uncheck the "Compile SASS / SCSS to CSS" option (assuming I am finished with my theme development), the css file is no longer loaded

Thanks!

Comments

tsi’s picture

Status: Active » Postponed (maintainer needs more info)

Starting with 2 - if you are not using an external compiler (e.g. ruby-compass) you should leave this on, even after development is finished. Sass files are being recompiled only when they are changed so it is fine to leave this on. note: on prod, just turn off dev mode and clear cache and you are ready with minified css.

About 1:
Short answer - sorry, you can't.
Long answer - a lot of work in this area is being done on the 3.x branch, if you're starting a new theme and can get ruby-compass to install on your dev machine, I suggest you try the new branch. it won't give you a solution out-of-the-box for the generated css path but it can be implemented fairly easily.
waiting for your input to see if that's an option.

drupalpal’s picture

Thanks.

You mean that 3.x branch is dependent on ruby-compass (external compiler) being installed on the dev machine? There is no more an internal compiler that is integrated with sasson?

tsi’s picture

Correct. Sasson will still compile the files for you, but it will use the original Compass instead of Phamlp which is much more feature reach and reliable.

tsi’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (works as designed)

Cleaning up