If you’ve used Gitpod for a SvelteKit project, you may have noticed that HMR (Hot Module Reload) does not work out of the box. This post will show you how to get it working with just a bit of configuration.
SvelteKit is an upcoming Svelte framework for creating websites. It’s similar to Next.js for React, or Nuxt for Vue. It’s still in beta but I wanted to give it a try with an actual project — this website — and see how the experience compared.