lib/guard/spork/spork_instance.rb in guard-spork-0.5.0 vs lib/guard/spork/spork_instance.rb in guard-spork-0.5.1
- old
+ new
@@ -33,10 +33,10 @@
::Process.kill('KILL', pid)
end
def alive?
return false unless pid
- Process.waitpid(pid, Process::WNOHANG).nil?
+ ::Process.waitpid(pid, ::Process::WNOHANG).nil?
end
def running?
return false unless pid
TCPSocket.new('localhost', port).close