GoogleChromeLabs / simplehttp2server

A simple HTTP/2 server for development
Other
1.74k stars 99 forks source link

Launch the URL. #5

Closed rodrigograca31 closed 8 years ago

rodrigograca31 commented 8 years ago

Hi!

IMHO it should open the URL in the system default browser when it finishes "loading"...

Thanks!

surma commented 8 years ago

I disagree. I personally think that becomes fairly annoying really quickly, because sometimes you want the server just for your headless tests or for your non-default browser. If you want to open the browser do something like simplehttp2server & open https://localhost:5000; fg

rodrigograca31 commented 8 years ago

Ok... Your command did not work (Linux here), but this one works for me: xdg-open https://localhost:5000 & ./simplehttp2server_linux_amd64