fix: watch quartz.config.yaml during serve (#2448)

The serve-mode watcher globs never matched quartz.config.yaml or
quartz.config.default.yaml, so config edits (theme colors, plugin
flags, footer links) silently required a server restart. This was a
regression from v4, where quartz.config.ts matched the **/*.ts glob.
This commit is contained in:
Narath Carlile 2026-06-15 20:19:27 -04:00 committed by GitHub
parent 92a4a48430
commit e12ca11100
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -593,6 +593,8 @@ export async function handleBuild(argv) {
"**/*.tsx",
"**/*.scss",
"package.json",
"quartz.config.yaml",
"quartz.config.default.yaml",
])
chokidar
.watch(paths, { ignoreInitial: true })