Questions tagged [liveserver]

185 questions
0
votes
1 answer

npm live-server doesn't refresh the page

live-server package by npm doesn't refresh (reload) the page when I change the CSS files. It detects the changes for CSS files (in terminal) but doesn't refresh (in page). vs code - terminal PS E:\File\004> npx live-server Serving "E:\File\004" at…
0
votes
0 answers

Live Server in vscode doesn't open browser automatically

I'm using vscode and when i start live server it starts but the browser doesn't open automatically the live server when it starts it should open the browser automatically but it doesn't This The Project that i'm trying to start live server on it…
0
votes
1 answer

Why images not showing in VS Code live server?

I have a problem with live server in VS Code . When I use a logo on nav bar in my HTML code, it works properly when I open that file without live server. But when I try to open it using live server it dosn't show . here is my html code my html…
0
votes
0 answers

Trying to open 127: local host in vscode it is not opening instead something else like this is opening

Basically I am just doing testing a CRUD API down below and whenever I open the vscode live server this is displaying on the screen - Error Page opening or example page After clicking on more I get to this website Local Host error and connection…
pran
  • 1
0
votes
0 answers

Ctrl+Z and Ctrl+Y shortcut stops working on launching live server on VS Code

I am a beginner and started to learn development today. I realised that the moment I launch Live server (The one by Ritwick Dey) on VS code, Undo and Redo shortcuts stop working system wide. Other shortcuts like Ctrl+A, Ctrl+C, Ctrl+X etc all work…
0
votes
0 answers

LiveServer of VisualStudioCode doesn't work

I have tried to uninstall vsc with all it's files. .vscode folder, data in roaming. Uninstall and install config of all vsc (especially LiveServer). I have tried to change the value LiveServer > Settings:Https.Enable to true and then false, and…
0
votes
2 answers

I run live-server in terminal, how do I write more commands after this...?

I run live-server in the terminal on VS Code, afterwards I try to write a new command in the terminal but I don't get any response, what command do I need to write to continue to use the terminal? I've tried writing cd ../
Dean
  • 1
0
votes
1 answer

having problem regarding CSS and live server

In the following HTML code, when I open it in the Live Server extension in Visual Studio Code, it creates two extra
elements that I didn't explicitly create. I only created three
elements. However, when I use a CSS selector, the problem…
0
votes
0 answers

In VS code when I try to open the live server; then page show "CANNOT GET .....". How can I solve this problem?

In VS code IDE I create an html file. I tried to open it in the live server but it shows an error. The page shows "CANNOT GET ...link..." but it doesn't load. I tried to find problem-fixing tutorials on youtube and other sources. But can't get any…
0
votes
0 answers

Files changes listening doesn't work (changes are not shown) on Nuxt/Vue

I joined the project on Nuxt v2.15.4 and Vue v2.6.12. After "yarn dev" project is starting on localhost:3000, but changes listening doens't work (any changes in *.vue, *.scss are not shown). To see changes it needs to make "yarn dev" once…
0
votes
0 answers

Used relative file path to link CSS, but file doesn't load and gives an error (MIME type not supported and strict MIME checking is enabled)

I have linked my CSS file in toDo.html like this: . This is what the directory looks like: Web Dev | - reset.css - To Do List (folder) | - Folder1 | …
Manav
  • 1
  • 3
0
votes
2 answers

Problem with Live Server on WSL: I can't connect to the server from my phone

When I'm using my Windows Subsystem for Linux (WSL) environment from VS Code I am unable to connect to the server from my phone despite being connected to the same wifi network and entering the ip address and port. When I'm working from my normal…
0
votes
0 answers

Why does Live Server increase uncaught errors every time I press the go live button?

I installed the live server extension in visual studio. I created a new folder and a new HTML file to see if the live server function workers. I press the go-live button, and it does not work. I tried to right-click and open with the live server. It…
0
votes
0 answers

LiveServer working but displaying an error

Whenever I start my live server through VScode in the console of the browser an error message is displayed. but the live server works fine but I don't want to see the the error message how can I fix it This is the error message I tried reinstalling…
0
votes
1 answer

Live server doesn't refresh page in toggle device toolbar menu

Live server doesn't refresh page in 'toggle device toolbar' menu a problem with using Live Server in VScode. In default mode page updates normally, but when I enable 'toggle device toolbar' menu, setting custom dimension (for ex. iphone xr or just…