How Zotonic finds templates, dispatch rules, and assets
Zotonic indexes resources from the site's active modules. A file existing on disk is not enough: its application must be discoverable, and its module must participate in that site.
- Confirm that the application is included by the umbrella build.
- Compile it and inspect any
.app.srcerrors. - Rescan modules when adding a package.
- Activate its Zotonic module for the site.
- Check template selection or dispatch inspection for the specific resource.
File watching normally picks up edits and additions in known applications. Adding a whole application can need a rescan or broader update. Do not assume the browser cache is responsible until the server selects the correct source file.