vizjerai / guard-spin

Guard::Spin automatically manage Spin server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any plans for guard notification (growl) support?

mattscilipoti opened this issue · comments

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. :(

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.

@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.