Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Autoreload / refresh / watch #79

Open
mawid6 opened this issue Feb 5, 2024 · 2 comments
Open

Request: Autoreload / refresh / watch #79

mawid6 opened this issue Feb 5, 2024 · 2 comments

Comments

@mawid6
Copy link

mawid6 commented Feb 5, 2024

Hello!

I am struggling to get my flow to work in a good way. I would like to be able to have a preview of a file open and have it reload when the file is changed.

BR! /marcus

@fvsch
Copy link

fvsch commented Aug 22, 2024

In my usage, the preview does update when the file is changed.

At least when using this extension with “Open Preview to the Side”. Changes in the editor buffer are reflected instantly in the preview.

Sometimes it does get stuck (not syncing with the editor anymore), though I'm not sure when. Might be when switching files, closing-and-reopening, something like that.

@mawid6
Copy link
Author

mawid6 commented Aug 27, 2024

Hi @fvsch! Good to know, but I think you are talking about another use case?
You write:

Changes in the editor buffer are reflected instantly in the preview.

Seems you mean previewing an svg that you are editing.

My use case is a "Autoreload/refresh/watch" of a file on disk - so, to open a preview of an svg file on disk.
Not editing the svg in vs code.

So I mean for it to watch changes to an svg file, and reload the preview from the file when it changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants