Skip to content

Hot Reload

Bell Eapen edited this page Nov 10, 2025 · 4 revisions

Hot Reload / Dev Sync

Use these commands to sync work-in-progress code/assets into running containers. This is ideal for UI tweaks and elixir logic changes that don't alter dependencies.

🔄 Elixir dev sync (Python app code)

npx dhti-cli elixir dev -d ../dhti-elixir-template -n dhti-elixir-template -c dhti-langserve-1

Note: If dependencies change (e.g., requirements.txt), rebuild the image instead of dev sync.

🔄 Conch dev sync (built dist)

npx dhti-cli conch dev -d ../openmrs-esm-dhti-template -n openmrs-esm-dhti-template -c dhti-frontend-1

Tip: Clear browser cache if assets look stale.

🔄 Update runtime bootstrap

npx dhti-cli docker bootstrap -f ~/bootstrap.py -c dhti-langserve-1

Use this to swap models, temperatures, or tool settings without rebuilding.

Clone this wiki locally