Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

tip re: ngrok and development restarts with nodemon #16

Open
techieshark opened this issue May 30, 2018 · 0 comments
Open

tip re: ngrok and development restarts with nodemon #16

techieshark opened this issue May 30, 2018 · 0 comments

Comments

@techieshark
Copy link

It's a nice convenience to be able to run ngrok from inside the node server itself, but a downside is if you touch some files and want to restart, you get a new ngrok tunnel.

ngrok can be combined with nodemon in such a way that if the server restarts due to a file change, the tunnel persists. Best of all the things.

Not necessarily a feature request, just putting this here as a convenience for others.

https://gist.github.com/spalladino/45a6e54d7942ac0bad64dd54d7d12467

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant