Frontend Development Workflow
Persistent Development State
When starting Ocelot-Cloud in TEST mode, you can use the -k flag which preserves database is preserved across restarts and preserves Login state, so you do not need to log in again after each backend code change and restart.
Ocelot-Cloud uses SSR with Go HTML templates.
When running in TEST mode:
- Backend code changes still require a container restart
- Frontend resource changes do not require a restart
Instead, the GUI provides a Reload Frontend button:
- Modify HTML, CSS, or JavaScript files on the host
- Click Reload Frontend in the GUI
- Reload the page in the browser
Note
If JavaScript / CSS changes are not applied / visible, force a full reload using Ctrl + Shift + R to bypass browser caching.This workflow allows fast frontend iteration without rebuilding or restarting containers.