guard / guard-spork

Guard::Spork automatically manage Spork DRb servers
https://rubygems.org/gems/guard-spork
MIT License
296 stars 58 forks source link

no growl notifications when used with guard-rspec #56

Closed FlaviuSim closed 12 years ago

FlaviuSim commented 12 years ago

When using guard, with guard-rspec, and growl_notify (or growl for that matter), everything works great. (I'm on growl 1.2.2)

However, when adding guard-spork, I get a notification that says "RSpec successfully started" after which I don't get any fail/pass notifications.

I could not figure out the root cause of this issue, but I do think people should be warned in the Readme so they don't spend countless hours troubleshooting this.

thibaudgg commented 12 years ago

Which version of guard-spork are you using? You should get a notification like "Spork server for RSpec successfully started"

FlaviuSim commented 12 years ago

0.4.1 . Spork does start, and I get a notification that says "RSpec successfully started." Tests are running fine, spork is doing it's job, I just don't get notified of passes and failures.

thibaudgg commented 12 years ago

Are you sure this notification comes from guard-spork? (try to comment all other guard from your Guardfile) Are you launching guard with bundle exec guard? (just to be sure that is the 0.4.1 that is used)

FlaviuSim commented 12 years ago

I am launching with bundle exec guard.

I am not sure the notifications are coming from guard-spork, as there are more tools involved than my brain can handle.

I commented out all other guards beside the spork and rspec one. I noticed that as soon as I add the :cli => '--drb' option to the RSpec guard, notifications stop. However, without that option notifications work, with spork started (though the tests are not using spork and still take forever).

thibaudgg commented 12 years ago

Same issue than https://github.com/guard/guard-rspec/issues/82 ?