-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
C-bugCategory: A bug, incorrect or unintended behaviorCategory: A bug, incorrect or unintended behaviorCommand-serveCommand: serveCommand: serve
Description
Problem
When serving a book, and modifying book.toml to include something invalid, like:
[book]
title = "x"
[output.html]
foo = 123
the serve ends up printing the following every second:
ERROR Failed to deserialize `output.html`
Caused by: unknown field `foo`, expected one of `theme`, `default-theme`, `preferred-dark-theme`, `smart-punctuation`, `definition-lists`, `admonitions`, `mathjax-support`, `additional-css`, `additional-js`, `fold`, `playground`, `playpen`, `code`, `print`, `no-section-label`, `search`, `git-repository-url`, `git-repository-icon`, `input-404`, `site-url`, `cname`, `edit-url-template`, `live-reload-endpoint`, `redirect`, `hash-files`, `sidebar-header-nav`
It probably should only do that once.
Steps
- Create a book
mdbook serve- Modify
book.tomlto have an invalidoutput.htmltable.
Possible Solution(s)
No response
Notes
mdbook v0.5.0
Version
Metadata
Metadata
Assignees
Labels
C-bugCategory: A bug, incorrect or unintended behaviorCategory: A bug, incorrect or unintended behaviorCommand-serveCommand: serveCommand: serve