Compass Watch won't compile when new changes saved in Sass

2,841 views
Skip to first unread message

Brajeshwar

unread,
May 4, 2011, 11:10:43 PM5/4/11
to Compass
Hi,

I upgraded to the new html, sass and of course the new compass
release.
(I removed the older versions too)

Now, "compass watch" won't compile when I save changes to my sass
files.
However, it does compile the very first time I run "compass watch"

Am I missing something new or something that have changed?

Regards
Brajeshwar

Chris Eppstein

unread,
May 4, 2011, 11:48:45 PM5/4/11
to compas...@googlegroups.com
If you are on a mac and using rb-fsevents, try upgrading the fssm library.

Hunt & pecked on my iPhone... Sorry if it's brief!

> --
> You received this message because you are subscribed to the Google Groups "Compass" group.
> To post to this group, send email to compas...@googlegroups.com.
> To unsubscribe from this group, send email to compass-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/compass-users?hl=en.
>

Brajeshwar

unread,
May 7, 2011, 10:07:00 AM5/7/11
to Compass
Hi,

fssm 0.2.7 was installed when I upgraded to Compass 0.11.1.
And I guess that is the latest version of fssm.

On May 5, 8:48 am, Chris Eppstein <ch...@eppsteins.net> wrote:
> If you are on a mac and using rb-fsevents, try upgrading the fssm library.
>
> Hunt & pecked on my iPhone... Sorry if it's brief!
>
> On May 4, 2011, at 8:10 PM, Brajeshwar <brajesh...@gmail.com> wrote:

Brajeshwar

unread,
May 7, 2011, 11:20:01 PM5/7/11
to Compass
I removed and re-installed fssm and it works now.

On May 5, 8:48 am, Chris Eppstein <ch...@eppsteins.net> wrote:
> If you are on a mac and using rb-fsevents, try upgrading the fssm library.
>
> Hunt & pecked on my iPhone... Sorry if it's brief!
>

bob marteal

unread,
May 10, 2011, 1:02:55 PM5/10/11
to compas...@googlegroups.com
Hello,

I'm having, I think, the same exact issue, but uninstalling and reinstalling fssm did not change things. When i go in and do compass watch all updates are made, but no subsequent updates are made until i stop the process and start it over.

Terminal shows no errors, just says it's watching for changes.

Thanks,
~bob marteal

capi etheriel

unread,
May 11, 2011, 4:59:58 AM5/11/11
to compas...@googlegroups.com
send us the results of running "gem list". also, what is your OS? what is your ruby version?

bob marteal

unread,
May 11, 2011, 9:50:27 AM5/11/11
to compas...@googlegroups.com
Hello,

OSx 10.6.6

ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]

*** LOCAL GEMS ***

actionmailer (2.3.5, 2.2.2, 1.3.6)
actionpack (2.3.5, 2.2.2, 1.13.6)
actionwebservice (1.2.6)
activerecord (2.3.5, 2.2.2, 1.15.6)
activeresource (2.3.5, 2.2.2)
activesupport (2.3.5, 2.2.2, 1.4.4)
acts_as_ferret (0.4.3)
capistrano (2.5.2)
cgi_multipart_eof_fix (2.5.0)
chunky_png (1.2.0)
compass (0.11.1)
daemons (1.0.10)
dnssd (0.6.0)
fastthread (1.0.1)
fcgi (0.8.7)
ferret (0.11.6)
fssm (0.2.7)
gem_plugin (0.2.3)
haml (3.0.25)
highline (1.5.0)
hpricot (0.6.164)
libxml-ruby (1.1.2)
mongrel (1.1.5)
needle (1.3.0)
net-scp (1.0.1)
net-sftp (2.0.1, 1.1.1)
net-ssh (2.0.4, 1.1.4)
net-ssh-gateway (1.0.0)
nokogiri (1.4.4)
rack (1.0.1)
rails (2.3.5, 2.2.2, 1.2.6)
rake (0.8.3)
RedCloth (4.1.1)
ruby-openid (2.1.2)
ruby-yadis (0.3.4)
rubygems-update (1.7.2)
rubynode (0.1.5)
sass (3.1.1)
sqlite3-ruby (1.2.4)
termios (0.9.4)
xmpp4r (0.4)

Thanks,
~bob

bob marteal

unread,
May 12, 2011, 12:48:02 PM5/12/11
to compas...@googlegroups.com
Anyone have thoughts on this?

Please....

Chris Eppstein

unread,
May 12, 2011, 1:05:08 PM5/12/11
to compas...@googlegroups.com
Have you tried restarting your machine?

On Thu, May 12, 2011 at 9:48 AM, bob marteal <bobma...@gmail.com> wrote:
Anyone have thoughts on this?

Please....

bob marteal

unread,
May 12, 2011, 2:29:36 PM5/12/11
to compas...@googlegroups.com
Chris,

Yes, I have. Same issue, when i first watch the project any changes show up and it says it's watching it, then doesn't see anything until i stop and restart.

Interestingly, I can do a normal (non-compasss) watch on a .scss/.css file pair and the updating works as expected when i update the .scss file.

Thanks for your help,
~bob

Chris Eppstein

unread,
May 12, 2011, 3:12:37 PM5/12/11
to compas...@googlegroups.com
Does it work if you pass --poll to the compass watcher?

Bryant

unread,
May 12, 2011, 3:45:29 PM5/12/11
to Compass
I had this problem before, and I was able to fix by making sure ALL my
gems were up to date.

I ran:
sudo gem update

and everything was fine after that.

bob marteal

unread,
May 12, 2011, 4:18:11 PM5/12/11
to compas...@googlegroups.com
Ding, ding, ding, ding.

I updated everything, then restarted. Looks like i'm all set now.

Thanks so much for your'alls time.

Cheers,
~bob

Chris Eppstein

unread,
May 12, 2011, 4:39:10 PM5/12/11
to compas...@googlegroups.com
Grrr. I wish knew what was the root cause. that process sucks.


~bob

--

Brajeshwar

unread,
May 27, 2011, 5:04:51 AM5/27/11
to Compass
Its unfortunate but I'm stuck again with the same problem.
I even did a full of all the gems.

I finally had to poll to make it work
compass wath --poll

Chris Eppstein

unread,
May 27, 2011, 3:59:34 PM5/27/11
to compas...@googlegroups.com
ffffuuuuuuuuuuu

Travis Tilley

unread,
May 31, 2011, 2:36:59 PM5/31/11
to Compass
any chance there's multiple versions of haml/sass/compass/fssm
installed and somehow the wrong things are being loaded from the wrong
places? I know... I'm grasping at straws here.

There is one known issue with rb-fsevents involving directories with
unicode in the name that, as far as I can see, I -should- be handling
correctly... but I guess i'm not. *grumble grumble*

Chris Eppstein

unread,
May 31, 2011, 2:39:44 PM5/31/11
to compas...@googlegroups.com
Sass is "vendoring" fssm, but if it can load an fssm gem it _should_ use that instead.

I would like to change this to a proper gem dependency soon, but I need to talk to nex3 first.

chris

bob marteal

unread,
Jun 22, 2011, 2:41:22 PM6/22/11
to compas...@googlegroups.com
Uh oh. Had to send computer in for new logic board and when i got it back i was back to square one- when i first watch updates are made but nothing after that until i start and start again. So I did everything over, uninstalled and reinstalled fssm, updated all gems, restarted several times and sacrificed an AOL cd on the night of the solstice for good measure and I'm still sunk.

Any help would be appreciated.

Thanks,
~bob

Chris Eppstein

unread,
Jun 22, 2011, 8:38:58 PM6/22/11
to compas...@googlegroups.com
Does it work if you add --poll?


Hunt & pecked on my iPhone... Sorry if it's brief!
--
You received this message because you are subscribed to the Google Groups "Compass" group.
To view this discussion on the web visit https://groups.google.com/d/msg/compass-users/-/MUaV_EYLsx8J.

bobma...@gmail.com

unread,
Jun 22, 2011, 9:54:14 PM6/22/11
to compas...@googlegroups.com
oh yeah, that works. What's --poll all about?

Thanks again, Chris.

~bob

Jetviper21

unread,
Jun 22, 2011, 10:31:59 PM6/22/11
to compas...@googlegroups.com
Poll uses a timer instead of file system events

Sent from my iPad
Reply all
Reply to author
Forward
0 new messages