Fix issue 12 #86

Merged
merged 2 commits into from Jun 17, 2011
@@ -2,8 +2,9 @@ module Guard
class Windows < Listener
attr_reader :fchange
- def initialize
+ def initialize(*)
super
+
@fchange = FChange::Notifier.new
end
View
@@ -56,6 +56,7 @@ def color_enabled?
require 'rubygems' unless ENV['NO_RUBYGEMS']
require 'Win32/Console/ANSI'
rescue LoadError
+ @color_enabled = false
info "You must 'gem install win32console' to use color on Windows"
false
end