vscode-live-server icon indicating copy to clipboard operation
vscode-live-server copied to clipboard

working with php | proxy configured but not auto reloading

Open salehawal opened this issue 1 month ago • 0 comments

I'm submitting a issue i am facing to enable live server to work with php

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->
[ ] Feature request
[ ] Documentation issue or request
[x] Other: <!-- Please describe: -->

Current behavior

in my case i was able to configure live server to work with php localhost server by configuring the proxy setting in live server, "without the need for a browser extension", but the problem is the auto reloading on save is not working, thats the only remaining problem

my config in "settings.json": "liveServer.settings.proxy": { "enable": true, "baseUri": "/", //"proxyUri": "http://localhost/ws/development/${workspaceFolderBasename}" "proxyUri": "http://localhost/ws/development/saleh" },

also as you see in the commented code, i was not able to use settings variable, it is not working

Expected behavior

1- auto reloading should work, it is not working 2- the value "${workspaceFolderBasename}" should work instead of hard-coding the project folder name

Environment

Browser:

- [ ] Chrome (desktop) version XX
- [x] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:

- Live Server: v5.7.9
- Platform:  ubuntu linux 23.10
- Visual Studio Code: 1.89.1

Others

salehawal avatar May 14 '24 10:05 salehawal