Skip to content

Refresh the preview when other files change #654

Description

@ahus1

After editing includes for a document, images or an .asciidoctorconfig file and when I then return to the original document, the preview still shows the old contents.

I then trigger a small change in the current document to refresh the preview.

It would be great if the preview could refresh when one of the following happens:

  1. Any file in the current project changes
  2. The user switches the focus to the main document

The first option would allow editing an include and watching the preview to refresh.

The second option would help with external referenced images or files outside of the current project.

So IMHO, the preview should refresh when either of the two happens (any file changed or focus switched).

Activity

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

    💬 discussionDisccussion on new features, projects, etc...

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions