Closed bethesque closed 6 years ago
Closing. Each non-ruby implementation should use the service
command rather than the start
command, and handle shutting down the mock service process itself.
Thank you past @bethesque for this 🍪 trail, this got me last night
Adding this here to track the issue.
I'm working on a branch of the mock service here to implement pact-mock-service start using spawn instead of fork. I can get it to start up ok, but I can't work out how to kill the process gracefully (SIGTERM). It always needs to be killed with a SIGKILL, which means that the shutdown hook on the mock service won't execute.