localtunnel.me unreliable
gmittal opened this issue · 1 comments
gmittal commented
If the localtunnel server "occasionally" goes down for this long, that will cause a lot of confusion
http://puu.sh/jSVLY/89ff9e9b73.png
gmittal commented
Slapped together a quick command line workaround which simply runs ngrok in the background, and then calls the local API endpoint to get the machine-readable ngrok tunnel url.
$ ./ngrok http 3000 > /dev/null &
$ curl localhost:4040/api/tunnels
and to kill it, I simply kill the process using the returned PID