better support for jruby under linux (but all spec don't pass)
This commit is contained in:
parent
ffe9f933b0
commit
08a9df7bab
@ -45,7 +45,7 @@ module Guard
|
||||
|
||||
def watch_change
|
||||
while !@stop
|
||||
if IO.select([inotify.to_io], [], [], latency)
|
||||
if Config::CONFIG['build'] =~ /java/ || IO.select([inotify.to_io], [], [], latency)
|
||||
inotify.process
|
||||
|
||||
unless files.empty?
|
||||
|
Loading…
Reference in New Issue
Block a user