Permalink
Browse files

Merge pull request #86 from stereobooster/master

Fix issue 12
  • Loading branch information...
2 parents 2ff6a22 + 61b0a7a commit 975444bda30cec048bf63c200ac011c09625e408 @thibaudgg thibaudgg committed Jun 17, 2011
Showing with 3 additions and 1 deletion.
  1. +2 −1 lib/guard/listeners/windows.rb
  2. +1 −0 lib/guard/ui.rb
@@ -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

0 comments on commit 975444b

Please sign in to comment.