Questions tagged [liveserver]
185 questions
8
votes
8 answers
Live server not refreshing browser
I'm using live server extension in Visual Studio Code, and it's doesn't work.
What i mean about "doesn't work" is that it doesn't refresh the broswer after modifications of the code but i can open it.
The only way to see the modifications is to…

Front-end-developper-Diogo
- 119
- 1
- 1
- 7
4
votes
2 answers
Is there a way to open localhost inside VS Code editor interally?
When I was in a bootcamp, our instructor accessed localhost inside VSCode, I just forgot how to do that, does anybody know how to do this?

Jason Cruz
- 311
- 1
- 2
- 9
4
votes
3 answers
Can I use Live Server inside Vscode editor?
I know live server opens with a browser.
But is it possible to open it inside editor?
Like I split the editor window with two .js files.

vefi
- 43
- 1
- 4
4
votes
1 answer
VSCode and Live Server - change port
Trying to configure Live Server to properly launch and connect to web pages on my local machine in VSCode .However, I seem unable to set the port I want to run live server on. When I accept the default port (chosen by the extension itself) I get…

DaveLister
- 127
- 1
- 9
3
votes
2 answers
Live server refreshing every second without changes in code file
When I'm using Live Server extension in VS Code, my browser is refreshing every second, even though I do not make nor save any changes in my code file.
Why is that happening and how to solve this problem?
Can anybody help me? :)

marcinho51
- 31
- 2
3
votes
1 answer
Flask keep live server working for tests (Selenium)
First of all I am aware of flask-testing library with LiveServerTestCase class but it hasn't updated since 2017 and GitHub full of issues of it not working neither on Windows or MacOs and I haven't found any other solutions.
I am trying to write…

Antonio Margaretti
- 634
- 4
- 18
2
votes
1 answer
Why can't use live server with React app?
I know that it is not possible to serve a react app, using live server. In other words, even though the js is bundled and linked to the HTML file, if you open the file statically, the react code will not render.
I read about static and dynamic…

noviceGuru
- 125
- 1
- 6
2
votes
1 answer
VSCode LiveServer Reloading Issue
The LiveServer in my VSCode is somehow not working correctly and stably, I have to manually refresh. I can say that I tried all the solutions I found, but I could not get a definite result. Below I am sharing the settings.json, I hope I can find a…

Huseyin
- 21
- 1
2
votes
1 answer
blog.html does not open with Live Server using Visual Studio Code
I'm trying to learn HTML, and I have a problem. When I try open my blog.html with live server I get an error code saying 'Cannot GET /blog.html/'.
I am not sure why, since my index.html page opens fine with live server.
I cannot include pictures,…

Izk
- 21
- 2
2
votes
1 answer
how to open 2 different files with live server in vscode
I have 2 different folders in my vscode workspace containing html..css files
I want to open the two different html files with live server.
when I open the first one it says "Server is Started at port : 5500" and it creates a new browser window and…

B-M Amine
- 39
- 1
- 6
2
votes
0 answers
LiveServer going to offline in chrome developer-tools responsive section
i was using happily liveserver in vs-code for a long time , but there are few days when i run my html document with live server in chrome and go to the chrome responsive section in developer tools
live server going to offline
please help me
thanks…

Amir
- 21
- 1
2
votes
2 answers
how can i see my html file on mobile device using live server in vscode?
I'm using windows10 pro on PC and android on mobile. and i followed this process below.
Why can't I enter the url on my phone's browser to view my live site?
127.0.0.1 is a special-purpose IPv4 address reserved for loopback purposes. That is, this…

Lee TaeWon
- 51
- 1
- 7
2
votes
0 answers
VS Code does not launch a web browser when starting Live Server or "npm start" with React
I'm using Visual Studio Code Insiders on Arch Linux (installed via snapstore), and whenever I try to "open with live server", no browser launches. I can manually go to the local domain myself and its running, however it is annoying how it doesn't…

Eric Pezzulo
- 299
- 4
- 18
2
votes
0 answers
Vscode LiveServer opens with an ERROR on browser
My LiveServer extension was working perfectly when i worked with HTML,CSS and JS. But after spending some time learning flutter and dart, I tried to go back with HTML for a web project... But my liveserver is not working as before...
This is the…

K.Triplet
- 21
- 1
2
votes
2 answers
Why is my Visual Studio Code Live Server jumping to specific parts of the page on save?
OK, so this drives me nuts: When I'm using Live Server, it starts jumping up, or to specific parts of the page, when I (or the 'auto save') save my CSS or SCSS file. When I'm just refreshing the page in my browser manually or even saving my HTML…

Bioheater
- 21
- 2