Add liveReloadPort flag to server
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 23 Sep 2017 15:08:48 +0000 (17:08 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 23 Sep 2017 15:08:48 +0000 (17:08 +0200)
commitb180477631555824a06293053e2b6e63c5f07361
treeda795b2b5e6fbd5baf176ae582a37536f330e758
parentc31e083ead1d494d7ebaa3947028ea6cee302f32
Add liveReloadPort flag to server

This makes live reloading behind a HTTPS proxy working, as in the example below using the service from https://ngrok.com:

```
hugo server -b https://ba6sdfe72.ngrok.io --appendPort=false --liveReloadPort=443 --navigateToChanged
```

Fixes #3882
commands/server.go
hugolib/site.go