Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix issue #12. Specs don't work. Fails beacause of ".git/index"

  • Loading branch information...
commit 61b0a7aa05ffed7df19800ce9051bf3551c53053 1 parent a0245de
@stereobooster authored
Showing with 3 additions and 1 deletion.
  1. +2 −1  lib/guard/listeners/windows.rb
  2. +1 −0  lib/guard/ui.rb
View
3  lib/guard/listeners/windows.rb
@@ -2,8 +2,9 @@ module Guard
class Windows < Listener
attr_reader :fchange
- def initialize
+ def initialize(*)
super
+
@fchange = FChange::Notifier.new
end
View
1  lib/guard/ui.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.