Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guard "disconnects" from libnotify after a while #891

Open
istrasci opened this issue Dec 28, 2017 · 0 comments
Open

Guard "disconnects" from libnotify after a while #891

istrasci opened this issue Dec 28, 2017 · 0 comments

Comments

@istrasci
Copy link

I've set up my Guardfile to use libnotify to show notifications, mainly for RSpec tests.

notification :libnotify if RUBY_PLATFORM =~ /linux/i

It works and correctly displays the notifications (rails start up, rspec passes/fails, etc.). But after a "while", it seems to "disconnect" from the libnotify system, and will no longer display them. I've run guard in debug mode, but the debug output is the same whether the notifications display or not, so I'm not including the output here.

This happens on both my home and work machines. Has anyone experienced this behaviour?

Home machine environment:

» ruby -v
ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux]
» bundle show guard
/home/istrasci/.rvm/gems/ruby-2.4.2/gems/guard-2.14.1
» bundle show guard-rspec
/home/istrasci/.rvm/gems/ruby-2.4.2/gems/guard-rspec-4.7.3
» uname -a
Linux mint17VB 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant