I
I
Ilya2020-11-04 19:22:19
Visual Studio Code
Ilya, 2020-11-04 19:22:19

When you click on "Go Live" of the Live Server extension in VS, a tab with the title "listing directory/" opens in the browser. Please tell me why?

Good afternoon!
When clicking on "Go Live" of the Live Server extension in VS, a tab titled "listing directory/" opens in the browser, and Live Server gives the error "Invaild Path in liveServer.settings.root settings. live Server will serve from workspace root". Please tell me what could be the reason?
settings.json code

{
    "liveServer.settings.donotShowInfoMsg": true,
    "workbench.statusBar.visible": true,
    "terminal.integrated.shell.windows": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
    "workbench.colorTheme": "Monokai Dimmed",
    "files.autoSave": "afterDelay",
    "liveServer.settings.mount": [

    
    ],
    "liveServer.settings.root": "/_site",
    "liveServer.settings.port": 0,  
    "liveServer.settings.ChromeDebuggingAttachment": false
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question