Included markdown files are not update with mdbook serve
#2536
Labels
C-bug
Category: A bug, incorrect or unintended behavior
mdbook serve
#2536
Problem
Files included with
{{#include path/to/file}}
are not updated withmdbook serve
, and it seems there is no option to manually add files to be watched.In our (maturin), we include the readme as introduction page in the guide to avoid repeating the content from the readme.
Steps
git clone https://github.com/konstin/mkbook-watch-reproducer
mdbook serve guide
and open the page in the browserinstallation.md
. The changes are updated in the browser.Readme.md
. The changes are not updated in the browser! You need to runmdbook build guide
to rebuild them.Possible Solution(s)
mdbook should watch included files, too, or add an option to manually include them. I tried
extra-watch-dirs
with..
, with an absolute path and with the path to the directory, but to no avail.Notes
No response
Version
The text was updated successfully, but these errors were encountered: