gulp-webserver
gulp-webserver copied to clipboard
Livereload with HTTPS
Hi,
When livereload is set to true it adds:
//localhost:35729/livereload.js?snipver=1
To the bottom of the page, great.
When I then set https to true, my page is hosted on https, which is also great.
The URL to the libreload script is still the same so it looks for:
https://localhost:35729/livereload.js?snipver=1
However, it 404's because the js file still seems to be hosted on HTTP regardless of the https: true
, which is frustrating.
Livereload needs to take the protocol into account.