Skip to content

Conversation

@1FoxInTheBox1
Copy link
Contributor

@1FoxInTheBox1 1FoxInTheBox1 commented Jan 31, 2026

Closes #189

Previously, the AssetAtlas container had to be restarted and rebuilt everytime a change was made. This greatly slowed down development since the entire project had to reset to test even small changes.

This PR takes advantage of SvelteKit and Vite's HMR feature to update the container with your code as you write it. This takes the form of a new dev mode that is separate from your local production environment (which is what the python helper runs). Note that in general, dev mode is slower to load than production since SSR has been disabled while in dev mode. SSR should still be enabled in production.

To use dev mode:

  1. Run npm run dev or npm run dev:build
  2. Open localhost:5173. It may take several minutes to load when first opened.
  3. Develop as normal. When you want to test your changes, just reload the site!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Unrefined

Development

Successfully merging this pull request may close these issues.

Hot reload code

2 participants