Dev Command
To make your developer experience even better using the Gothic Framework we created a hot reload feature for your app routes.
Run the following command to see your app locally hot reloading:
make devWhat the terminal shows
Each save prints what changed and what it cost. The file that triggered the rebuild is named first, artifacts that were actually recompiled report their size, and everything already cached is summed up in a single line.
17:45:28 Rebuilding src/pages/counter.templ
17:45:29 WASM Recompiling counter...
17:45:41 WASM counter -> 518KB -> 112KB (brotli)
17:45:41 WASM 39 up to date, 1 rebuilt
17:45:41 Rebuilt in 13.1sVerbose mode
Add --verbose when you want the full picture. It shows every build phase and enables one log line per HTTP request. Request logs stay silent during regular hot reload so the terminal remains focused on your code changes.
gothic hot-reload --verboseThe generated app includes Gothic's Logger middleware, which formats request logs for local development and production environments. See Request Logging.
Now that you have your project set up and running locally, let's see how you can add some Next.js like features to it to improve even more your app!
