microsoft / microsoft/vscode-livepreview

Live preview reloads on editor changes even when not visible

Open
#454 0 comments 0 reactions 1 assignee View on GitHub

@andreamah is already working on this.

Since Feb 22, 2023.

bug
Dominant language
TypeScript
Stars
596
Forks
119
Avg merge
1d 4m
Merged PRs (30d)
5

Description

  1. Live preview with an internal browser, and have some <script>console.log('loaded');</script>
  2. Open a new file / make a new tab such that the preview isn't visible
  3. Notice that "loaded" logs are fired on file change, even when the preview isn't visible

You can probably Logan's new tabs API to avoid reloading the preview until it's visible again.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.