Open declann opened 3 months ago
FYI, the behaviour described here.
https://github.com/quarto-dev/quarto/assets/8896044/f16f3e7b-e5ae-423d-bd87-4c30c797a757
While if no file (thus the project) is provided to quarto preview
https://github.com/quarto-dev/quarto/assets/8896044/4c8c1d69-39c4-4ad5-8582-031ed5c050be
Note that the command Quarto: Preview
does the same thing as the button.
What's missing is the equivalent of Quarto: Render Project
but for preview, i.e., Quarto: Preview Project
which could obey the "render in save" option ("watch inputs").
Bug description
quarto preview
redirects browsers to the actively edited ('saved') document: for any page saved across website projects.quarto preview path/to/file.qmd
in all cases, then it only ever reacts to saves to a single page (from which the button was clicked), as opposed to across pages - asquarto preview
doesThe extension Preview button doesn't correspond to what I expect from
quarto preview
(since it doesquarto preview path/to/file.qmd
)I don't use the extension because
quarto preview
behavior is a better workflow for me when working with websites.Perhaps Preview is an ambiguous UI and either behavior is arguably correct. But I am stating specifically what I expected, plus behavior from vanilla
quarto preview
. (and this despite the title - so feel free to close if you disagree)I don't use the extension because I cannot reproduce the experience of
quarto preview
inside it when working with websites, which is my preferred workflow.ref #6440
Steps to reproduce
First turn on Render on Save in extension
then
Expected behavior
Preview pane redirects to re-rendered about.qmd
Actual behavior
nothing: no render or redirect
Your environment
vscode 1.90.2
on ubuntu 22.04
Quarto check output
extension v1.113.0