codegangsta / gin

Live reload utility for Go web servers
MIT License
4.23k stars 317 forks source link

Add support for multiple ports. #140

Open Dirbaio opened 6 years ago

Dirbaio commented 6 years ago

This PR adds support for running a webserver serving on multiple ports.

You can specify multiple --port and --appPort flags, and each pair will create a new proxy.

If flags are omitted, they have the same default values as before, so the CLI usage should be fully backwards compatible.