microsoft / microsoft/vscode-livepreview
Live preview reloads on editor changes even when not visible
Open
@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
- Live preview with an internal browser, and have some
<script>console.log('loaded');</script> - Open a new file / make a new tab such that the preview isn't visible
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.