bmustiata / fast-live-reload

A live reload that works with all the possible browsers.
18 stars 5 forks source link

Https on local dev server #8

Open markknol opened 6 years ago

markknol commented 6 years ago

Is it possible to use https for local dev server?

Btw, thanks for fast-live-reload, it really fits very well in my workflow.

bmustiata commented 6 years ago

Currently no, and I don't plan to implement it, because I'd need to have self signed certs, and what not, and it seems a lot of work, and don't really have the time.

Development for SSL only features (eg. HTML5 camera) is accepted via http://localhost/ access anyway.

markknol commented 5 years ago

Any chance this will be supported any time? It would also be nice for facebook instant games, which requires a https localhost.

bmustiata commented 5 years ago

Unfortunately I don't have time to implement it. I'll gladly merge any PR that fixes this.

markknol commented 5 years ago

Some questions:

bmustiata commented 5 years ago

npm install grunt

Then you can just run npm install . and try it.

On Mon, Nov 26, 2018, 11:18 AM Mark Knol <notifications@github.com wrote:

Some questions:

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bmustiata/fast-live-reload/issues/8#issuecomment-441587578, or mute the thread https://github.com/notifications/unsubscribe-auth/AAb8ikpOy5w-Y516rI7u0oPEm1KxVNdgks5uy7_lgaJpZM4RyZFT .

bmustiata commented 5 years ago

Also, the code is probably here: https://github.com/bmustiata/fast-live-reload/blob/master/src/server/IFrameServer.js#L27

The files are concatenated together in the grunt build. If you need extra requires you can add them here: https://github.com/bmustiata/fast-live-reload/blob/master/src/node/requires.js