guard-spin icon indicating copy to clipboard operation
guard-spin copied to clipboard

Any plans for guard notification (growl) support?

Open mattscilipoti opened this issue 13 years ago • 3 comments

mattscilipoti avatar Feb 17 '12 17:02 mattscilipoti

I found that I was able to get growl to work by specifying this formatter (from guard-rspec)

"--require #{`bundle show guard-rspec`}/lib/guard/rspec/formatters/notification_#{rspec_exec.downcase}.rb --format Guard::RSpec::Formatter::Notification#{rspec_exec} --out /dev/null"

Unfortunately, this eliminates the output at the command line. If I miss the growl, I am out of luck. :(

mattscilipoti avatar Feb 17 '12 18:02 mattscilipoti

Unfortunately I'm not able to run Growl because of my development set up so I can't test it.

But if you were able to submit a patch to get it to work it would be great for other people who wish to get growl notifications.

vizjerai avatar Feb 17 '12 18:02 vizjerai

@mattscilipoti I used the growl-rspec formatter gem and added it as a second formatter to my .rspec:

# Gemfile
group :test, :development do
  gem 'growl-rspec'
end

# .rspec
--require growl-rspec --format "Growl::RSpec::Formatter" --colour --format documentation

This gives me both growl notifications and terminal output.

colszowka avatar Jun 28 '12 12:06 colszowka