Home > other >  Live Server Extension in VS Code is not working in WSL
Live Server Extension in VS Code is not working in WSL

Time:02-12

I have been working with visual studio a long of time ago in Windows without any problems. I installed WSL in my PC, all perfect.

But now I migrated one of my webpages directory to the WSL root \wsl$\Ubuntu\home\user\webPage

And when I click on "Live Server" extension, it loads propertly in: http://127.0.0.1:5500/index.html

But when I make a change and save, is not working

Do I have to change something else? Of course all the extensions are installed, seems to be the same

VS Image

CodePudding user response:

You have to install this extension Remote Developer Extenson Pack

Once you do this, open your Visual Studio normally and you will be able to develop, there are some extensions not compatible.

More references here

CodePudding user response:

Modify this settings in your VS Code extension:

"liveServer.settings.https": {
    "passphrase": "true",
    "key": "true",
    "cert": "true",
    "enable": 1
},
  • Related