-
Notifications
You must be signed in to change notification settings - Fork 25
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
Not working with guard, and unclear documentation. #26
Comments
Looks like adding this to
Seems like a documentation bug. |
@mjtko didn't help me. |
@NARKOZ does Adding that |
@mjtko no. It freezes and I need to kill it via
UPD: seems that's because I'm running it from tmux. |
Ah - need to make that work first then! Perhaps this will help? julienXX#115 |
I use |
This is for anyone else who runs into this issue. I needed to add a With the |
I ran into this issue as well. It turns out things were failing for me because of |
Thanks all for reporting. I updated the README with some extra clarification on these and other matters. Cheers! |
First of all the Readme.md is confusing on how normal operation is expected to work. The usage section starts with "You could also use the notifier directly." Also? Also as apposed to what? You can't start by saying 'also', you have to first state what is the normal usage, then you can say "also" to add additional usage instructions.
On top of this the examples don't mean anything. What is the context in which
TerminalNotifier::Guard.notify('Hello World')
should appear? Not on the command line, not in irb, not in the guard file. Where? Did you forget to specify arequires
line, is this a rake task?So the question is:
Is it supposed to 'just work'(tm)? If that is the case then I have a bug in functionality to report.
or
Am I supposed to do something to my guard file to get it to work? In that case I have a documentation bug to report.
Here are the steps to reproduce the issue I'm having.
Mac OS X 10.10.2 in terminal.
> brew install terminal-notifier
> terminal-notifier
Added
gem 'terminal-notifier-guard', '~> 1.6.1'
to Gemfile.> bundle install
bundle exec guard
Guard file looks like:
I get expected / typical guard output, but no notification appears.
However, if I run
> terminal-notifier -message "test"
I get a notification as expected.Am I missing a step or is there a bug?
I've tried to read through various issues(*) but it quickly turns into a game of portal as each issue refers to other which refer to still other issues which then refer to pull requests which then refer back to the starting issue. It is un-clear which, if any, of these should be followed. I tried a couple of suggestions, and a PR, but none of those changed the behavior described above.
*Issues
#22
#13
#12
#15
guard/guard#626
julienXX#106
...
The text was updated successfully, but these errors were encountered: