Skip to main content

watch_doc

Function watch_doc 

Source
pub async fn watch_doc(args: DocArgs) -> Result<()>
Expand description

Executes a [Watchexec] that listens for changes affecting the generated documentation: project sources, optionally library sources, the README that becomes the homepage, the deployments directory, and the foundry config file itself. Without these, the live preview goes silently stale on common edits.