I'm using quarto
to create revealjs
slides. I have a main file science.qmd
that looks similar to this
---
title: "title"
author: "me"
date: "2023-09-01"
toc: false
chalkboard: true
---
{{< include slides/_basics.qmd >}}
{{< include slides/_datenbasiert.qmd >}}
{{< include slides/_bias.qmd >}}
I.e., this file is purely thought of as the driver, and the main content is stored inside the _*.qmd
files.
My _quarto.yml
looks like this:
project:
title: "title"
output-dir: docs
preview:
port: 4200
browser: true
watch-inputs: true
execute:
freeze: auto # re-render only when source changes
# cache: true
editor:
render-on-save: true
format:
revealjs:
theme: [default,styles.scss]
highlight-style: dracula
code-line-numbers: true
code-fold: false
code-tools: true
code-copy: true
navigation-mode: vertical
controls-layout: bottom-right
controls-tutorial: true
Now I run
poetry run quarto preview /Users/me/Repos/myfolder --render all
To render the presentation.
My problem is that I am unable to trigger a re-render in the case that the contents of the _*.qmd
files is changed. I have enabled "Render on save" and whenever I change the content of the science.qmd
file, it also runs the re-rendering.
Can I force the presentation to re-render whenever I change one of the included .qmd
files?