CLI flags for ignoring project scripts on render/preview #13687
pj398
started this conversation in
Feature Requests
Replies: 1 comment 1 reply
-
|
Use profiles. This feature is there exactly for these cases. See Project profiles. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Description
I just ran into an issue (which is discussed by others in #12987 and Discussion #13052) when trying to preview a notebook. I have a post-render script that moves the output files to a different location within the project, and thus
quarto previewfailed with the "no output created by quarto render" error because it can't serve the output file from its expected location.One thing that would solve this problem is adding flags like
--no-pre-render-scripts/--no-post-render-scriptswhich allow eitherquarto renderorquarto previewto ignore the scripts on request. Such a feature would be very valuable as it gives the user much greater flexibility on how and when to incorporate project scripts into their workflow, though I couldn't see any existing feature request for this.Beta Was this translation helpful? Give feedback.
All reactions