Closed juherr closed 1 year ago
I think it should already work this way.. And also if under runtime you mean ngrok binary file, then when you got it placed in some non standard location then ngrok.directory
property, should work for you. If not could you please provide some more details about your case?
Sorry, I didn't give you enough context.
I'm using MacOS and I had installed ngrok
thanks to brew
.
Then, ngrok CLI is available in the path:
❯ which ngrok
/usr/local/bin/ngrok
# link to
❯ ls /usr/local/Caskroom/ngrok/latest
ngrok
The starter downloaded another binary:
❯ ls ~/.ngrok2
ngrok ngrok.yml
I think the starter should try using ngrok from the PATH before downloading another version.
BTW, it is not a big deal, just a little improvement in order to avoid some duplication.
Fixed in v0.7.0
Use local runtime, instead of downloading a new one.