guard/guard — Issue #234: Guard stops notifying growl when Guardfile changes
Author: jaylevitt
Created: 2012-02-02 18:36:04+00:00
State: open

With this Guardfile:

require 'guard/guard'

module ::Guard
class Similarity < ::Guard::Guard
def run_all
Notifier.notify("test", :title => "test")
end
end
end

guard :similarity do
watch(%r{.*})
end

and this Gemfile:

source 'http://rubygems.org'
gem 'guard'
gem 'growl'

I can hit Enter a few times and guard will notify me via growl. If I then re-save the Guardfile, and see "Guardfile has been re-evaluated", I no longer see any notifications.

OS X 10.6.8, Growl 1.2.2, growl-1.0.3 gem, guard-1.0.0.