`zola serve` doesn't watch for changes in syntax highlighting themes
Author: SoluminCreated Sep 23, 2026Updated Sep 23, 2026
Labelsenhancement
Bug Report
Environment
Zola version: zola 0.23.6
Expected Behavior
After setting up a custom syntax highlighting theme, changing a value in that theme is detected by zola serve and the site is reloaded.
Current Behavior
The site is not reloaded.
Step to reproduce
- Create a custom syntax highlighting theme, e.g.
my-themeinextra/syntax_themes/my_theme.json - Add
theme = "my-theme",extra_themes = [ "extra/syntax_themes/my_theme.json"], andstyle = "class"tozola.toml. - Add the necessary stylesheet changes.
- Run
zola serveand observe that syntax highlighting is happening. - Change a value in
my_theme.json. - Observe that the syntax highlighting has not changed.
- Restart
zola serve. Observe the syntax highlighting is still the same. - Manually refresh the page to see the change.
Source: getzola/zola