Until now, we recommended watchIntegration to enable HMR in development. However:
This can cause performance issues because your integration would be also watched when the integration is used by your users.
It doesn’t work with a build step, which we highly recommend.
From now on, we recommend that you use dynamic imports in your local playgrounds, alongside the new hmrIntegration
integration exported from astro-integration-kit/dev.