--watch stopped seeing changes

495 views
Skip to first unread message

Jason Ford

unread,
Dec 15, 2009, 7:33:22 PM12/15/09
to Compass
I have been using Compass on a project for a couple months now and all
of a sudden compass --watch stopped working. It still detects new
changes and updates the CSS when I first run it, but once it is
running it does not detect any changes to .sass files like it used to.
My workaround is to keep jumping back to the terminal window and
hitting ctrl-C, then running the compass --watch command again - every
time I change a file I have to do this for it to update the CSS.

What steps can I take to identify and fix this problem? It is getting
super annoying.

Here's a little more info on my configuration:
- OS X Snow Leopard, standard bash terminal
- Compass version 0.8.17
- config.rb seems to be set up correctly since compass --watch works
when it is first run
- I've tried doing "sudo gem uninstall chriseppstein-compass" then re-
installing it and the problem still exists
- I have several projects that I'm using Compass with and --watch has
stopped working for all of them
- I've tried creating a new project with "compass test" and --watch
doesn't work there either
- Compass works fine on another, similarly-configured Mac using the
same project source files

I can't figure this out at all - any help would be appreciated.

Thanks!
- Jason

Andrés gutiérrez

unread,
Dec 15, 2009, 7:40:54 PM12/15/09
to compas...@googlegroups.com
try to put compass -v in your root folder in a terminal. what you see?

2009/12/16 Jason Ford <ja...@feedmagnet.com>

--

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.





--
Experiencia es lo que obtienes, cuando no obtienes lo que quieres.
-----------------------------------------------------------------------------
"Caminar sobre el agua y desarrollar software a partir de unas
especificaciones es fácil. si ambas están congeladas."
Edward V. Berard, ingeniero informático.

Chris Eppstein

unread,
Dec 16, 2009, 1:13:16 AM12/16/09
to compas...@googlegroups.com
Sorry, I really don't have a clue. Definitely sounds environmental in nature.

I guess you could try upgrading compass and installing the latest version of fssm.

sudo gem uninstall haml
sudo gem uninstall chriseppstein-compass
sudo gem install compass --pre
sudo gem install fssm

The watcher works via FSEvents, a Mac OS service that tells the program when things change on the filesystem. I wonder whether you've seen any other things acting strange on your machine?

Chris




2009/12/15 Andrés gutiérrez <andres...@gmail.com>

Adam Stacoviak

unread,
Dec 16, 2009, 3:10:48 AM12/16/09
to compas...@googlegroups.com
Wynn is/has been having the same issue. :(

--
Adam Stacoviak | Handcrafted
m. 713-492-4598
http://twitter.com/adamstac
http://gethandcrafted.com

Jason Ford

unread,
Dec 16, 2009, 9:45:32 AM12/16/09
to Compass
$ compass -v

Compass 0.8.17 [2465bab]
Copyright (c) 2008-2009 Chris Eppstein
Released under the MIT License.
> > compass-user...@googlegroups.com<compass-users%2Bunsubscribe@goog legroups.com>
> > .

Andrés gutiérrez

unread,
Dec 16, 2009, 9:51:11 AM12/16/09
to compas...@googlegroups.com
seems that compass is in place. I can not think it can happen.

Sorry, I also am a rookie
:(

Andrés

2009/12/16 Jason Ford <ja...@feedmagnet.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.


Jason Ford

unread,
Dec 16, 2009, 9:53:14 AM12/16/09
to Compass
I did this:

sudo gem uninstall haml
sudo gem uninstall chriseppsein-compass
sudo gem install compass --pre
--- got an error that haml was required here
sudo gem install haml
sudo gem install compass --pre
sudo gem install fssm

then I rebooted the machine just to be safe and tried again - still
getting the same behavior. It works the first time you run compass --
watch and then fails to detect any changes to files.

- Jason

On Dec 16, 12:13 am, Chris Eppstein <ch...@eppsteins.net> wrote:
> Sorry, I really don't have a clue. Definitely sounds environmental in
> nature.
>
> I guess you could try upgrading compass and installing the latest version of
> fssm.
>
> sudo gem uninstall haml
> sudo gem uninstall chriseppstein-compass
> sudo gem install compass --pre
> sudo gem install fssm
>
> The watcher works via FSEvents, a Mac OS service that tells the program when
> things change on the filesystem. I wonder whether you've seen any other
> things acting strange on your machine?
>
> Chris
>
> 2009/12/15 Andrés gutiérrez <andresgut...@gmail.com>
> >> compass-user...@googlegroups.com<compass-users%2Bunsubscribe@goog legroups.com>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/compass-users?hl=en.
>
> > --
> > Experiencia es lo que obtienes, cuando no obtienes lo que quieres.
>
> > --------------------------------------------------------------------------- --
> > "Caminar sobre el agua y desarrollar software a partir de unas
> > especificaciones es fácil. si ambas están congeladas."
> > Edward V. Berard, ingeniero informático.
>
> >  --
> > 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<compass-users%2Bunsubscribe@goog legroups.com>
> > .

Chris Eppstein

unread,
Dec 16, 2009, 10:25:48 AM12/16/09
to compas...@googlegroups.com
All I can think of is to add an option that would let you force it to
poll for changes. If I had a way to reproduce this issue, I could do
more...

Hunt & pecked on my iPhone... Sorry if it's brief!
>>>> To post to this group, send email to compass-
>>>> us...@googlegroups.com.

Nathan Weizenbaum

unread,
Dec 16, 2009, 4:12:26 PM12/16/09
to compas...@googlegroups.com
Why not whip up a little test script that using FSSM and have them run it to see if that's what's not working?

To unsubscribe from this group, send email to compass-user...@googlegroups.com.

Chris Eppstein

unread,
Dec 16, 2009, 4:18:25 PM12/16/09
to compas...@googlegroups.com
That's a good idea. I'd like to track this issue on github from this point:

Travis Tilley

unread,
Dec 16, 2009, 6:35:37 PM12/16/09
to Compass
Hmm. If you run ruby in debug mode, then the cache debug module is
included ->

module CacheDebug
def set(path)
FSSM.dbg("Cache#set(#{path})")
super
end

def unset(path)
FSSM.dbg("Cache#unset(#{path})")
super
end

def ftype(ft)
FSSM.dbg("Cache#ftype(#{ft})")
super
end
end

That would at least let you know when and where it locks up. It would
be interesting to note if it's consistent.

Please use the latest development compass and fssm. The compass 0.8.x
version of fssm is pretty old.

> >> compass-user...@googlegroups.com<compass-users%2Bunsubscribe@goog legroups.com>


> >> > .
> >> > For more options, visit this group at

> >>http://groups.google.com/group/compass-users?hl=en
> >> > .
>
> >> --
>
> >> 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<compass-users%2Bunsubscribe@goog legroups.com>


> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/compass-users?hl=en.
>
> >  --
> > 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<compass-users%2Bunsubscribe@goog legroups.com>

Travis Tilley

unread,
Dec 16, 2009, 6:41:30 PM12/16/09
to Compass
If anyone having this problem has time over the weekend to debug, let
me know. I probably won't have a solid block of time until then. :|

Jason Ford

unread,
Dec 17, 2009, 9:13:36 AM12/17/09
to Compass
I'm up for helping debug the problem by running test scripts on my
machine, but I don't know Ruby so I probably won't be able to actually
help debug beyond saying, "That worked" or "Nope, let's try something
else."

- Jason

> > > >> >> I guess you could try upgradingcompassand installing the latest


> > > >> >> version of
> > > >> >> fssm.
>
> > > >> >> sudo gem uninstall haml
> > > >> >> sudo gem uninstall chriseppstein-compass
> > > >> >> sudo gem installcompass--pre
> > > >> >> sudo gem install fssm
>
> > > >> >> The watcher works via FSEvents, a Mac OS service that tells the
> > > >> >> program when
> > > >> >> things change on the filesystem. I wonder whether you've seen any
> > > >> >> other
> > > >> >> things acting strange on your machine?
>
> > > >> >> Chris
>
> > > >> >> 2009/12/15 Andrés gutiérrez <andresgut...@gmail.com>
>

> > > >> >>> try to putcompass-v in your root folder in a terminal. what you


> > > >> >>> see?
>
> > > >> >>> 2009/12/16 Jason Ford <ja...@feedmagnet.com>
>

> > > >> >>> I have been usingCompasson a project for a couple months now and
> > > >> >>> all
> > > >> >>>> of a suddencompass--watch stopped working. It still detects new


> > > >> >>>> changes and updates the CSS when I first run it, but once it is
> > > >> >>>> running it does not detect any changes to .sass files like it
> > > >> >>>> used to.
> > > >> >>>> My workaround is to keep jumping back to the terminal window and

> > > >> >>>> hitting ctrl-C, then running thecompass--watch command again -


> > > >> >>>> every
> > > >> >>>> time I change a file I have to do this for it to update the CSS.
>
> > > >> >>>> What steps can I take to identify and fix this problem? It is
> > > >> >>>> getting
> > > >> >>>> super annoying.
>
> > > >> >>>> Here's a little more info on my configuration:
> > > >> >>>>  - OS X Snow Leopard, standard bash terminal

> > > >> >>>>  -Compassversion 0.8.17


> > > >> >>>>  - config.rb seems to be set up correctly sincecompass--watch
> > > >> >>>> works
> > > >> >>>> when it is first run
> > > >> >>>>  - I've tried doing "sudo gem uninstall chriseppstein-compass"
> > > >> >>>> then re-
> > > >> >>>> installing it and the problem still exists

> > > >> >>>>  - I have several projects that I'm usingCompasswith and --


> > > >> >>>> watch has
> > > >> >>>> stopped working for all of them

> > > >> >>>>  - I've tried creating a new project with "compasstest" and --


> > > >> >>>> watch
> > > >> >>>> doesn't work there either

> > > >> >>>>  -Compassworks fine on another, similarly-configured Mac using

> > > >> >>> To post to this group, send email tocompa...@googlegroups.com.


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

> > > >> > To post to this group, send email tocompa...@googlegroups.com.


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

> > > >> To post to this group, send email tocompa...@googlegroups.com.


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

> > > > To post to this group, send email tocompa...@googlegroups.com.

ck

unread,
Dec 21, 2009, 9:22:30 AM12/21/09
to Compass
I'm having the same issue since about last Friday. I have no idea what
caused it.

> > > > >> >>>>compass-user...@googlegroups.com<compass-users%2Bunsubscribe@ goog legroups.com>


> > > > >> <compass-users
> > > > >> >>>> %2Bunsubscribe@goog legroups.com>
> > > > >> >>>> .
> > > > >> >>>> For more options, visit this group at
> > > > >> >>>>http://groups.google.com/group/compass-users?hl=en.
>
> > > > >> >>> --
> > > > >> >>> Experiencia es lo que obtienes, cuando no obtienes lo que quieres.
>
> > > > >> >>> ---
> > > > >> >>> ---
> > > > >> >>> ---
> > > > >> >>> ------------------------------------------------------------------
> > > > >> >>> --
> > > > >> >>> "Caminar sobre el agua y desarrollar software a partir de unas
> > > > >> >>> especificaciones es fácil. si ambas están congeladas."
> > > > >> >>> Edward V. Berard, ingeniero informático.
>
> > > > >> >>>  --
> > > > >> >>> You received this message because you are subscribed to the Google
> > > > >> >>> Groups
> > > > >> >>> "Compass" group.
> > > > >> >>> To post to this group, send email tocompa...@googlegroups.com.
> > > > >> >>> To unsubscribe from this group, send email to

> > > > >> >>>compass-user...@googlegroups.com<compass-users%2Bunsubscribe@g oog legroups.com>


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

> > > > >>compass-user...@googlegroups.com<compass-users%2Bunsubscribe@go og legroups.com>
> > > > >> > .


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

> > > > >>compass-user...@googlegroups.com<compass-users%2Bunsubscribe@go og legroups.com>
> > > > >> .


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

> > > > >compass-user...@googlegroups.com<compass-users%2Bunsubscribe@goo g legroups.com>

ck

unread,
Dec 21, 2009, 9:31:21 AM12/21/09
to Compass
P.S. I would be willing to debug if someone told me what to do.

aaronr79

unread,
Jan 7, 2010, 1:04:24 PM1/7/10
to Compass
I'm afraid I too am having this issue:

* Compass 0.10.0 [08894dc]
* fssm gem (0.1.2) installed

As above, when you first initiate compass -w it does do an initial
compile of any changes (if there are any), but then fails to notice
and subsequent changes.

> > > > > > >> >watchand then fails to detect any changes to files.


>
> > > > > > >> > - Jason
>
> > > > > > >> > On Dec 16, 12:13 am, Chris Eppstein <ch...@eppsteins.net> wrote:
> > > > > > >> >> Sorry, I really don't have a clue. Definitely sounds environmental in
> > > > > > >> >> nature.
>
> > > > > > >> >> I guess you could try upgradingcompassand installing the latest
> > > > > > >> >> version of
> > > > > > >> >> fssm.
>
> > > > > > >> >> sudo gem uninstall haml
> > > > > > >> >> sudo gem uninstall chriseppstein-compass
> > > > > > >> >> sudo gem installcompass--pre
> > > > > > >> >> sudo gem install fssm
>
> > > > > > >> >> The watcher works via FSEvents, a Mac OS service that tells the
> > > > > > >> >> program when
> > > > > > >> >> things change on the filesystem. I wonder whether you've seen any
> > > > > > >> >> other
> > > > > > >> >> things acting strange on your machine?
>
> > > > > > >> >> Chris
>
> > > > > > >> >> 2009/12/15 Andrés gutiérrez <andresgut...@gmail.com>
>
> > > > > > >> >>> try to putcompass-v in your root folder in a terminal. what you
> > > > > > >> >>> see?
>
> > > > > > >> >>> 2009/12/16 Jason Ford <ja...@feedmagnet.com>
>
> > > > > > >> >>> I have been usingCompasson a project for a couple months now and
> > > > > > >> >>> all

> > > > > > >> >>>> of a suddencompass--watchstopped working. It still detects new


> > > > > > >> >>>> changes and updates the CSS when I first run it, but once it is
> > > > > > >> >>>> running it does not detect any changes to .sass files like it
> > > > > > >> >>>> used to.
> > > > > > >> >>>> My workaround is to keep jumping back to the terminal window and

> > > > > > >> >>>> hitting ctrl-C, then running thecompass--watchcommand again -

Chris Eppstein

unread,
Jan 7, 2010, 2:01:40 PM1/7/10
to compas...@googlegroups.com
I would love to fix this bug. But I cannot reproduce it. I either need someone who can dig into ruby to submit a patch/diagnose the issue, or to provide a bunch more details than this.

chris

To post to this group, send email to compas...@googlegroups.com.
To unsubscribe from this group, send email to compass-user...@googlegroups.com.

Chris Eppstein

unread,
Jan 10, 2010, 4:22:12 PM1/10/10
to Compass
I can reproduce this issue when I force the FSSM backend to be the
Polling backend. Still no fix yet, but I'm excited to have made it
this far.

-chris

> > > > > > > > >> To...
>
> read more »

Reply all
Reply to author
Forward
0 new messages