Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Compass `watch` broken on OS X 10.8 Mountain Lion Developer Preview (Ruby 1.8.7) #732

Closed
OliverJAsh opened this Issue · 19 comments
@OliverJAsh

When running $ compass watch on OS X 10.8 Mountain Lion (Developer Preview), this bug appears:

/Library/Ruby/Gems/1.8/gems/fssm-0.2.7/lib/fssm/backends/fsevents.rb:27: [BUG] Segmentation fault
ruby 1.8.7 (2011-12-28 patchlevel 357) [universal-darwin12.0]

Abort trap: 6 
@chriseppstein

We'll probably need to switch from fssm to listen in order to address this. Or maybe just upgrade fsevents. Since you're on the cutting edge, some more investigation would be greatly appreciated.

@ryanjcollier

I updated both fsevents and the compass gem, but still get the same issue. It still works for the initial compile, but will crash on any subsequent changes to the sass. For now the only work around is to run "compass watch" each time you want to view the compiled changes. This would be a nice fix as defeats the productivity enhancements achieved by using watch ... and is quite annoying. =D

@scottdavis
Owner

can you try the latest guard from master and see if it works? if it doesn't put a ticket in for the listen gem https://github.com/guard/listen this is much higher level then compass its self.

@scottdavis scottdavis closed this
@chriseppstein chriseppstein reopened this
@scottdavis
Owner

i was going handel this from the listen side since im working on that project

@scottdavis
Owner

freaking ninja reopening!

@chriseppstein

Don't want to close the issue on our end until it's fixed in compass

@scottdavis
Owner

i added a new label to test after listen integration and tagged a few tickets

@ttilley

Nuke the ruby cocoa fsevent backend. It's been broken since lion, and just if'd out. I'll update FSSM to just destroy it, though listen is the way moving forward.

@chriseppstein

Workaround on mountain lion: compass watch --poll

@travyo

Was having same problem. Confirmed that above workaround works for a directory watch as well.

@gpbmike

Still an issue, workaround still works. :D

@chriseppstein

Noted.

@jnettik

I'm having this problem as well. Confirm workaround works.

@jnettik

So I updated the fssm gem to version 0.2.9 and compass watch seems to work again (although there is the fun message about fssm being dead that pops up now). I installed listen and nothing seems to have changed. Do I need to do something more in order to get Compass (v0.12.1/ sass v3.1.15) working with listen?

@MoOx

I've personally no problem with mountain lion now.

@cri5ti

For me, updating the fssm (to 0.2.9) fixed the issue. I get that warning like @jnettik mentioned, but works for me. (I also reinstalled latest version of compass)

gem update fssm

@osserpse

Confirms that workaround on mountain lion works: compass watch --poll
But after gem update fssm there is no need for the workaround longer

@scottdavis
Owner

try listen branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.