最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

vscode extensions - VS Code Live Server Not Refreshing Browser on Save (Windows 10) - Stack Overflow

programmeradmin0浏览0评论

Iam facing an issue where VS Code Live Server (by Ritwick Dey) is not refreshing any of my browsers automatically after saving files.

Environment:

  • OS: Windows 10
  • VS Code: Latest version
  • Live Server Extension: by Ritwick Dey

What Ive Tried:

  1. Removed All Extensions: I uninstalled all extensions (including from the setup directory in Windows 10) to rule out conflicts.

  2. Cleared Browser Cache: Disabled cache from the Network tab in DevTools.

  3. Tested Different Timing Settings: Set Live Server’s reload delay and wait time to 0.

  4. Tried Another Live Server: Installed a different Live Server extension, but it didnt work either.

  5. Multiple Browsers: Tested on Chrome, Firefox, and Edge with no success.

My settings

    "liveServer.settings.CustomBrowser": "chrome",
    "liveServer.settings.donotShowInfoMsg": true,
    "liveServer.settings.donotVerifyTags": true,
    "liveServer.settings.root": "",
    "liveServer.settings.wait": 0,
    "liveServer.settings.port": 5500,
    "liveServer.settings.reload.delay": 0,
    "liveServer.settings.useWebExt": true,
    "liveServer.settings.ignoreFiles": [
        "/.vscode/",
        "/node_modules/"
    ],

    "files.autoSave": "afterDelay",
    "files.autoSaveDelay": 0
    ```


Iam facing an issue where VS Code Live Server (by Ritwick Dey) is not refreshing any of my browsers automatically after saving files.

Environment:

  • OS: Windows 10
  • VS Code: Latest version
  • Live Server Extension: by Ritwick Dey

What Ive Tried:

  1. Removed All Extensions: I uninstalled all extensions (including from the setup directory in Windows 10) to rule out conflicts.

  2. Cleared Browser Cache: Disabled cache from the Network tab in DevTools.

  3. Tested Different Timing Settings: Set Live Server’s reload delay and wait time to 0.

  4. Tried Another Live Server: Installed a different Live Server extension, but it didnt work either.

  5. Multiple Browsers: Tested on Chrome, Firefox, and Edge with no success.

My settings

    "liveServer.settings.CustomBrowser": "chrome",
    "liveServer.settings.donotShowInfoMsg": true,
    "liveServer.settings.donotVerifyTags": true,
    "liveServer.settings.root": "",
    "liveServer.settings.wait": 0,
    "liveServer.settings.port": 5500,
    "liveServer.settings.reload.delay": 0,
    "liveServer.settings.useWebExt": true,
    "liveServer.settings.ignoreFiles": [
        "/.vscode/",
        "/node_modules/"
    ],

    "files.autoSave": "afterDelay",
    "files.autoSaveDelay": 0
    ```


Share Improve this question asked Feb 2 at 17:47 Abdul-Rahman KazamelAbdul-Rahman Kazamel 111 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

After trying all the suggested solutions here with the same Tags and even granting my current user full privileges, I decided to test using an administrator profile on the same PC.

✅ Surprisingly, Live Server worked perfectly without any changes to the configuration.

发布评论

评论列表(0)

  1. 暂无评论