http-party/node-portfinder

Expose testPort to public

GabrielDelepine opened this issue · 1 comments

Hi @indexzero and thanks for the great job !

It would be nice to export testPort.

Why ?
I'am using node-portfinder to start a web server. I'd like to use testPort to regulary check if the port is in use to know when the web server is up.

It would be much nicer to listen for a specific signal of the child process, but all web server does not implement it.

If you like the idea, I can make a PR

let me know if this is still a feature request, closing cause its stale (probably my fault, 1.5 years ago, sorry)