[application]
name = "polymodel"

# Restrict the dev-server file watcher to source + styling. Without this, dx
# watches the whole crate directory and fires hot-patches/reloads on the
# firehose's continuous writes to ./data (SQLite projection) and ./hydrant.db
# (fjall store), which silently reset in-progress UI state (e.g. the publish
# wizard). Both dirs are gitignored but the dx 0.7 watcher does not honor
# .gitignore, so the watch set must be scoped explicitly.
[web.watcher]
watch_path = ["src", "assets"]
reload_html = true
# Serve the root document for unknown routes so client-side router deep links
# (e.g. /publish, /:repo/thing/:rkey) resolve on direct navigation.
index_on_404 = true
