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:
@@ -593,6 +593,8 @@ export async function handleBuild(argv) {
|
|||||||
"**/*.tsx",
|
"**/*.tsx",
|
||||||
"**/*.scss",
|
"**/*.scss",
|
||||||
"package.json",
|
"package.json",
|
||||||
|
"quartz.config.yaml",
|
||||||
|
"quartz.config.default.yaml",
|
||||||
])
|
])
|
||||||
chokidar
|
chokidar
|
||||||
.watch(paths, { ignoreInitial: true })
|
.watch(paths, { ignoreInitial: true })
|
||||||
|
|||||||
Reference in New Issue
Block a user