Skip to content

Markdown Preview shows outdated file content #194421

Closed as duplicate
Closed as duplicate

Description

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.82.2
  • OS Version: Win11

Steps to Reproduce:

  1. Open vscode and create a markdown file ("test.md")
  2. open file, add some content and open Markdown Preview
  3. close VScode Editor but keep Markdown Preview open
  4. change markdown file outside of VSCode Editor (e.g. terminal inside VSCode)
  5. reopen VSCode Editor, close Markdown Preview and reopen new Markdown Preview

Markdown Preview does not update content and shows content from step 2.

markdown_bug

Activity

  1. krave1986 commented on Oct 1, 2023

    @krave1986

    I have a similar issue in regard to service worker registration failure.

    image

  2. AnWeber commented on Oct 1, 2023

    @AnWeber
    ContributorAuthor

    krave1986 I did not get some kind of error. Only the content is not updated correctly, which seems to be a filesystem Watcher/ caching issue. Your error seems to have another cause, because of the active error

  3. krave1986 commented on Oct 2, 2023

    @krave1986

    Andreas Weber (@AnWeber) Thanks for your feedback. I am not sure what happened to my VSCode. But it works when I tried to preview a markdown file today.

  4. added
    bug
    markdown-ext
    on Dec 6, 2023
  5. added this to the Backlog milestone on Dec 6, 2023
  6. ww-wolt commented on Feb 20, 2026

    @ww-wolt

    I am encountering the outdated preview bug also quite often. I have set the default viewing mode of my markdown files to preview in vscode settings (because I read md files much more often than I edit them). However especially when working with AI agents like for example claude code, the preview very often does not update and still shows an older version, and I have to double click to get into markdown editing view to see the newest state.

  7. added a commit that references this issue on Feb 25, 2026
    59009da
  8. cesarvarela commented on Mar 19, 2026

    @cesarvarela
  9. kira-pareser commented on Apr 6, 2026

    @kira-pareser
  10. locked and limited conversation to collaborators on May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugmarkdown-ext

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions