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
quarto preview
displays listing page instead of edited page when hot reloading
#6026
Comments
Potentially introduced here: |
I've made the fix to the 1.4 (main) branch and will back port to 1.3 branch for our next patch release, which is likely a couple weeks away. Thx for reporting this was an unexpected side effect and a great thing to fix. |
Wonderful, thanks ❤️ If you drop me a ping/mention when the 1.3 backport is available, I'll get it released to |
I'm backporting the TinyTex installation fix because v1.3.433 suffers from: quarto-dev/quarto-cli#6026
Hey @dragonstyle is a backport release still planned? Thanks :) |
Apologies for the delay! Yes it should be coming this afternoon (within the next couple of hours). I'll update here when it is completed. |
No sweat, I understand you're busy! Thanks very much, Charles :) I've got it on my list later tonight to open a PR on the conda-forge feedstock. |
Bug description
Repro repo: https://github.com/mfisher87/sscce-quarto-preview-hot-reload-listing
Either use this repo to test, or find details below.
When editing a page that is part of listing,
quarto preview
will hot reload.In Quarto
1.3.361
and prior, the edited page was correctly displayed after the hot reload.In Quarto
1.3.427
, the listing page is displayed instead.Steps to reproduce
quarto create-project --type website
mkdir listing
listing/index.md
with bareboneslisting
front-matter._quarto.yml
to add a link tolisting/index.md
.listing/foo.md
with barebones content.Try the following steps with different versions of Quarto
quarto preview
listing/foo.md
, and write.page displayed?
1.3.427
, the latter is the case, which is unintuitive to me. Inprevious versions, the former is the case. I expect the page I edited to be
displayed!
Expected behavior
When editing a page, triggering a hot reload by
quarto preview
, I expect to see the page I edited.Actual behavior
If the edited page is part of a listing, the listing index is displayed instead of the edited page in Quarto 1.3.427.
Your environment
Ubuntu 22
Quarto 1.3.427
Quarto check output
The text was updated successfully, but these errors were encountered: