Skip to content
New issue

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

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

Already on GitHub? # to your account

.vscode\settings.json - Live server port number updated continuously preventing live server from running. #2405

Open
stemixreal opened this issue Apr 13, 2022 · 1 comment

Comments

@stemixreal
Copy link

stemixreal commented Apr 13, 2022

I'm submitting a...

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

Current behavior

When I right-click and "open with Live Server", the Live Server port number in .vscode\settings.json begins updating continuously at approx 1 second intervals preventing live server from starting as the editor flashes a "1 unsaved file" message.

So far, this only appears to happen in static web app projects with a api.

Expected behavior

Live server to open the web page.

Environment

Browser:

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

For Tooling issues:

- Live Server: v5.7.5
- Platform:  Windows_NT x64 10.0.19043
- Visual Studio Code: Version: 1.66.2 (user setup)
Commit: dfd34e8260c270da74b5c2d86d61aee4b6d56977
Date: 2022-04-11T07:46:01.075Z
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: 9.8.177.11-electron.0

Others

@stemixreal stemixreal changed the title .vscode\settings.json - Live server port number updated continously preventing live server from running. .vscode\settings.json - Live server port number updated continuously preventing live server from running. Apr 13, 2022
@sharmavasant
Copy link

live server preventing to post request some one help

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

No branches or pull requests

2 participants