commit
975444bda3
@ -2,8 +2,9 @@ module Guard
|
||||
class Windows < Listener
|
||||
attr_reader :fchange
|
||||
|
||||
def initialize
|
||||
def initialize(*)
|
||||
super
|
||||
|
||||
@fchange = FChange::Notifier.new
|
||||
end
|
||||
|
||||
|
@ -56,6 +56,7 @@ module Guard
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user