preview
does not render or watch imported .qmd
files (or the .html files)
#5599
declann
started this conversation in
Feature Requests
Replies: 2 comments
-
Note: watching the html file would be enough to make preview work by setting up multiple previews, but I don't think this is the fix. A better fix imo is for preview to call the render on imported qmd files and watch those files. This does mean imported html files get updated by a separate qmd preview, but I think this is OK? |
Beta Was this translation helpful? Give feedback.
0 replies
-
For info, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Bug description
Importing reactive values from other
.qmd
files (docs link) is really useful, but those qmd files need to be rendered manually*, so it's not very smooth to develop.*Current import mechanism is to fetch the html file and process that:
https://github.com/quarto-dev/quarto-ojs-runtime/blob/c2572e5688dfc7d9d584e31033e620b34b11a7d3/src/ojs-connector.js#LL301C1-L301C57
+It may be advantageous to move the import mechanism to processing the qmd contents instead of html, or to output an ojs module for importing purposes.
Quarto 1.2.335 on Ubuntu.
Beta Was this translation helpful? Give feedback.
All reactions