Skip to content

[Feature] #4940

Closed as duplicate
Closed as duplicate

Description

@Ocramaru

Summary

A toggle in settings to enable auto-reload of disk changes made to the file while viewing it.

Problem it solves

When using a LLM to make edits to a markdown file it will have a popup on each change. (disk changes to file while viewing)

Example:
"file-name.md" has been changed on disk. Do you want to reload it? OK or X

It would be convenient to have the option to have the file auto reload if a user is using marktext more as a viewer then as an editor.

Proposed solution

This feature would be a simple setting toggle that would allow a user to enable auto reload. Additionally, the first time it asks you to reload a file you could ask if you want to enable auto reload which would flip the setting toggle.

Alternatives considered [optional]

If you wanted to get fancy you could also add a change diff view that would show how the disk changes made compare to what is currently rendered almost like comments/edits from a peer on a word doc, and you can choose to use the disk or your view or select line by line.

Activity

  1. Renakoni commented on Jul 16, 2026

    @Renakoni
    Contributor

    Thanks, I'll take a crack at it.

  2. Jocs commented on Sep 18, 2026

    @Jocs
    Member

    Thanks for the request!

    Reloading a changed file automatically, instead of answering the "has been changed on disk" prompt every time, is already tracked in #3652. #4164 asked for the same preference and was closed as a duplicate of it, so #3652 is where this feature lives.

    Closing as a duplicate of #3652. The extra ideas in your report — offering to enable the preference from the reload prompt itself, and a diff view of the on-disk change — are worth having on record: please add them as a comment there.

    @Renakoni — thanks for offering to implement it; please open the PR against #3652.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions