Avoid kernel restarts with "quarto preview" #4201
Replies: 2 comments 2 replies
-
We do have a jupyter daemon that keeps running across different renders. Unfortunately, we're tracking a bug where the daemon doesn't work on recent versions of Julia. Thanks for the patience and we'll
That's not possible with the current architecture in quarto, since .qmd files do not have the results in them. If you're willing to use nbclient (or some other execution infrastructure) by yourself, quarto does take .ipynb files with results as input, and does not re-execute them by default. So it's possible that this could be a more convenient approach for you. |
Beta Was this translation helpful? Give feedback.
-
On this subject, is it possible to avoid starting jupyter altogether if all I'm doing is printing code chunks (without evaluating them)? I haven't figured out a way to achieve this. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I use quarto preview from the command line in order to automatically re-render my document whenever the .qmd source changes. However, the program restarts a Julia kernel (my document contains Julia code) at every file change, and so rendering is very slow. Is it possible to avoid the kernel restarts or, even better, avoid re-running code cells that have not changed?
Beta Was this translation helpful? Give feedback.
All reactions