# svg_preview: Update preview on every buffer edit \(\#41270\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/9e5438906a0db63fcd155d21d251381f9f3f21ca)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 9e5438906a0db63fcd155d21d251381f9f3f21ca

Requested commit: 9e5438906a0db63fcd155d21d251381f9f3f21ca

Commit: 9e5438906a0db63fcd155d21d251381f9f3f21ca

Tree: dd96338248fbfbe889c3c38f71d47638160f777c

Author: Finn Evers

Committer: GitHub

## Message

```
svg_preview: Update preview on every buffer edit (#41270)

Closes https://github.com/zed-industries/zed/issues/39104

This fixes an issue where the preview would not work for remote buffers
in the process.

Release Notes:

- Fixed an issue where the SVG preview would not work in remote
scenarios.
- The SVG preview will now rerender on every keypress instead of only on
saves.
```

## Parents

- [fbe290791908e4524ea0513d529a68b64c3872c1](https://git.cafe/gitcafe/zed/commit/fbe290791908e4524ea0513d529a68b64c3872c1?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/9e5438906a0db63fcd155d21d251381f9f3f21ca?format=markdown)
