Hot Module Replacement

What is HMR?

Animotion uses Vite and takes advantage of hot module replacement (HMR) which means that any update you make is reflected instantly in the browser.

That being said you might want to disable HMR if you encounter weird issues when working on your presentation.

Disabling HMR

You can open and disable HMR inside presentation.svelte by uncommenting reloadPageAfterUpdate(). This is going to refresh the page instead of using HMR when you make a change.