Sha256: f9b238b99b5a681731afc4a781adb363ca9715d19d1c95fbf42808dac8046ee0
Contents?: true
Size: 377 Bytes
Versions: 60
Compression:
Stored size: 377 Bytes
Contents
require 'pact/mock_service/server/spawn' module Pact module MockService module Server class Respawn def self.call pidfile, port, ssl = false if pidfile.file_exists_and_process_running? pidfile.kill_process end Spawn.(pidfile, port, ssl) do yield end end end end end end
Version data entries
60 entries across 60 versions & 2 rubygems