Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

working with php | proxy configured but not auto reloading #2940

Open
salehawal opened this issue May 14, 2024 · 0 comments
Open

working with php | proxy configured but not auto reloading #2940

salehawal opened this issue May 14, 2024 · 0 comments

Comments

@salehawal
Copy link

salehawal commented May 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant