Skip to content

Conversation

@scottmartinnet
Copy link

@scottmartinnet scottmartinnet commented Jun 1, 2016

I needed my ngrok process to persist across multiple Ruby processes so that I could test web service callbacks in a multiprocess environment without a constantly changing ngrok hostname.

On initial start, it saves the details of the running process to a file. On subsequent starts, it then reads that file, verifies that the process still running, and then uses it instead of running a new process.

… ngrok process instead of starting a new one on every process.
@wizardishungry
Copy link

@scottmartinnet You may want to require 'json'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants