Hi, I posted a question to stackoverflow regarding compass/sass but since it involves an Omega 4 sub-theme I'm posting a link to the question here also (I hope that's OK, maybe It's Omega -related?).

http://stackoverflow.com/questions/21182030/compass-watch-detects-change...

In short, when I run compass watch and change a single .scss file, there are always 2 changes detected (the second one always 2-3 seconds after the actual change).

Comments

Percept’s picture

No-one else having problems with this apparently ... yesterday I worked on a non-drupal project with compass watch and the compilation was instant and did not have the "double change" detection. not saying this is Omega related but I don't seem to have the problem outside of Drupal.

evgeniysolodkov’s picture

Hi, I had this problem too. What helped me is removing this line form config.rb:
add_import_path 'sass'
I don't really know how it affects all other compiling process, but compass stoped compiling everything twice.
Hope this helps.

fubhy’s picture

Version: 7.x-4.0 » 7.x-4.x-dev
Category: Support request » Bug report

Let's see if this is a Bug in Omega with the add_import_path. I remember adding this in order to ease imports within nested directories. My project structuring concept has since changed (and so did Omega) so maybe we can remove this line if it's causing problems.

jwilson3’s picture

I've just tested upgrading sass and compass to 3.3 and 1.0.0.rc.0 respectively, in order to test out sourcemaps, and this line of code is now causing compass to compile css files twice.

https://github.com/Compass/compass/issues/1737

I recommend we just remove this line, if its original intention is not being used anymore -- isn't the sass-globbing gem responsible for pulling in nested sub-folders now?

jwilson3’s picture

Title: compass watch change detected » Remove add_import_path 'sass' because it is not needed and breaks compass
jwilson3’s picture

Title: Remove add_import_path 'sass' because it is not needed and breaks compass » Remove add_import_path 'sass' because it is not needed

Chris Eppstein already addressed the bug in upstream compass. But I still think this should be removed, no?

fubhy’s picture

Status: Active » Fixed

I've removed this now.

  • fubhy committed 7fdf045 on 7.x-4.x
    Issue #2177397 by fubhy: Fixed Remove add_import_path 'sass' because it...

Status: Fixed » Closed (fixed)

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