VSCode extension : Preview not refreshing #10745
-
DescriptionI am editing a website using Quarto. Everything works fine except for previewing the changes I produce in the document. Suppose I produce some changes in the document and try previewing them by typing the usual shortcut I raised this issue next to #6440, but I was advised to create a new one because that issue had already been closed. I am on a Windows 10 machine, Quarto v1.5.56, and VSCode v1.92.2 (user setup). Apparently, the settings in my VSCode extension are correct. Any help would be very much appreciated because it is terribly annoying to close the Quarto preview pane (and call it back again) to preview any changes I implement in the Quarto file. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 5 replies
-
|
Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? Or the detailed steps to reproduce? The goal is to make it as easy as possible for us to recreate your problem so that we can fix it: please help us help you! Thanks. Have you consider using You can share a self-contained "working" (reproducible) Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four If you have multiple files (and if it is absolutely required to have multiple files), please share as a Git repository.
Additionally and if not already given, please share the output of |
Beta Was this translation helpful? Give feedback.
-
|
I'm on a ubuntu machine and I hit the same problem. After a little bit of investigation I've found that the issue come from this line that add ""--no-watch-inputs" option to the https://github.com/quarto-dev/quarto/blob/main/apps/vscode/src/providers/preview/preview.ts#L481 It seems to me an issue to fix ... greetings, Attilio |
Beta Was this translation helpful? Give feedback.
-
|
Is this solved now as still happening on my VSCode extension. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Sorry to say but this is terribly annoying. If I use Quarto to produce slides, when I preview the changes I produce in the set of slides, no problem: the preview works after I click on the preview button. In the same machine (a Windows 11), if I update a webpage, it does not work: I have to close the current preview pane, and click once again on preview. I remember that sometime, in the past, this situation did not occur. |
Beta Was this translation helpful? Give feedback.


Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? Or the detailed steps to reproduce?
The goal is to make it as easy as possible for us to recreate your problem so that we can fix it: please help us help you! Thanks.
Have you consider using
render-on-save? https://quarto.org/docs/tools/vscode.html#render-on-saveYou can share a self-contained "working" (reproducible) Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four
````).See https://quarto.org/bug-reports.html#small-is-beautiful-aim-for-a-single-document-with-10-lines.
If you have m…