Making Ngrok process survive server stop on Linux
Making Ngrok process survive server stop on Linux
It was working OK on Mac OS on the 0.1.0 release, but not on Linux.
It came out that Process.setsid should be applied to the spawned process to establish this process as a new session and process group leader. This is completely detaching it from the parent process, so it won't be killed when the parent will go down.
Merged pull requests: