The config.rb file in Sass contains support for the FireSass extension to Firefox. Unfortunately, the FireSass Add-on has been abandoned.

https://github.com/nex3/firesass/issues/24#issuecomment-44688011
https://addons.mozilla.org/en-US/firefox/addon/firesass-for-firebug

FireCompass seems to be the current replacement: https://addons.mozilla.org/en-US/firefox/addon/firecompass-for-firebug/

The configuration to support FireCompass is slightly different. I'm rewriting my config.rb file, and thought, hey, it'd be good for this to go into Zen.
Here's some documentation about the new add-on: https://github.com/is-already-taken/firecompass

In my copy of the config.rb file, I changed line 14-16 to:

# In development, we can turn on the FireCompass-compatible debug_info.
firecompass = false
#firecompass = true

And lines 54-56 to:

# Pass options to sass. For development, we turn on the FireCompass-compatible
# line_comments if the firecompass config variable above is true.
sass_options = (environment == :development && firecompass == true) ? {:line_comments => true} : {}

All is happy again! (Oh, of course after installing the FireCompass Add-on for Firefox.)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jensimmons’s picture

Issue summary: View changes
tchi’s picture

Not working for me with these settings...

tstermitz’s picture

Yaaay! I thought I was going crazy when my fire sass stopped working. This works great… At least until maybe source maps are working.

BWPanda’s picture

Status: Active » Needs review
FileSize
1.95 KB

Awesome, thanks Jen! Here's a patch.

mike stewart’s picture

Seems this is a bit old school. Interweb moves fast :)

The new practice would be to remove your browser plugins and use --sourcemap in both sass 3.3+ and compass 1.0.1+ -- all major browsers currently have builtin developer tools support for sourcemap files (*.map)!

I've attached a patch which makes this change ... it also adds firecompass and preserves firesass ... since they're all really similar and technically can play together. I've also added a bit more explanation in both config.rb comments and sass/README.txt

Final Note: Eventually I feel sourcemap=true should be the default (not false), since this is a development option and the config variable environment= :development is set by default (which means not production). The reason I didn't do this now is due to the version requirements of both compass & sass -- still a bit bleeding edge.

goldii’s picture

works great! thanks!

mike stewart’s picture

I'd really like to see #5 formally reviewed ( +goldii ??) and/or committed. I think it'll help alleviate confusion.

I'm afraid due to [https://www.drupal.org/node/1696924#comment-9115885] -- which simplifies setup and correctly establishes dependencies -- but it also locks users to older methods for debugging and thereby must rely on a plugin.

rfsbsb’s picture

I can confirm the patch is working. I've just tested on a zen (7.x-5.5) based theme, and everything worked.

mike stewart’s picture

Status: Needs review » Reviewed & tested by the community

  • JohnAlbin committed 8ffd0ac on 7.x-5.x authored by mike stewart
    Issue #2295227 by mike stewart, BWPanda: Switch support for FireSass to...

  • JohnAlbin committed 4ee8861 on 7.x-6.x authored by BWPanda
    Issue #2295227 by mike stewart, BWPanda: Switch support for FireSass to...
JohnAlbin’s picture

Status: Reviewed & tested by the community » Fixed

Fixed!

Status: Fixed » Closed (fixed)

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