LiveReload assumes server is running on port 1313 #301

Closed
nwidger opened this Issue May 28, 2014 · 2 comments

Projects

None yet

2 participants

Contributor
nwidger commented May 28, 2014

LiveReload doesn't work when 'hugo server' is running on a port other than the default 1313. I believe the offending line is here:

https://github.com/spf13/hugo/blob/df4bbcef30250f6bd22e38ee2dc3314f2c786f20/transform/livereloadinject.go#L9

where 1313 is hardcoded.

Owner
spf13 commented May 28, 2014

Good catch.

Contributor
nwidger commented May 28, 2014

No problem. The LiveReload feature is really, really awesome by the way.

@spf13 spf13 closed this in 7a8b754 May 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment