How to make VS Code Live Server's auto reload work in Firefox when using a proxied web server

135 Views Asked by At

In VS Code I have installed the Live Server extension and in Firefox I have installed Live Server Web Extension.

When I start the normal Live Server server auto-reload works (i.e. I change a page, save it in VS Code and it auto-updates in Firefox). However when I proxy to another server on localhost:7700 (which serves the same files) via the settings

"liveServer.settings.useWebExt": true,
"liveServer.settings.proxy": {
    "enable": true,                            i. enabled
    "baseUri": "/",                           ii. workspace
    "proxyUri": "http://localhost:7700/" // iii. actual address
},

I've got a page served on localhost:5500 through Live Server, which is great. However, the auto-reload feature isn't functioning as expected.

How to troubleshoot and resolve this issue? (Please note, I have to use Firefox and cannot switch to Chrome.)

0

There are 0 best solutions below