Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Percept CreditAttribution: Percept commentedNo-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.
Comment #2
evgeniysolodkov CreditAttribution: evgeniysolodkov commentedHi, 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.
Comment #3
fubhy CreditAttribution: fubhy commentedLet'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.
Comment #4
jwilson3I'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?
Comment #5
jwilson3Comment #6
jwilson3Chris Eppstein already addressed the bug in upstream compass. But I still think this should be removed, no?
Comment #7
fubhy CreditAttribution: fubhy commentedI've removed this now.