gulp-webserver icon indicating copy to clipboard operation
gulp-webserver copied to clipboard

Livereload with HTTPS

Open abarnwell opened this issue 8 years ago • 0 comments

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.

abarnwell avatar Aug 16 '16 16:08 abarnwell