lib/guard/rails/runner.rb in guard-rails-0.2.2 vs lib/guard/rails/runner.rb in guard-rails-0.2.3
- old
+ new
@@ -21,10 +21,10 @@
pid = File.read(pid_file).strip
system %{kill -SIGINT #{pid}}
wait_for_no_pid if $?.exitstatus == 0
# If you lost your pid_file, you are already died.
- system %{kill -KILL #{pid} > /dev/null}
+ system %{kill -KILL #{pid} >&2 2>/dev/null}
FileUtils.rm pid_file, :force => true
end
end
def restart