We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To reproduce:
App.svelte
<h1>{contextModuleData.stuff}</h1> <script> import { contextModuleData } from './Test.svelte' </script>
Test.svelte
<script context="module"> export const contextModuleData = { stuff: 'ok', } </script>
If you have HMR running and update Test.svelte's 'ok' to be 'ok2', the UI continues showing "ok", until you refresh the page.
'ok'
'ok2'
I'm not sure if this is an issue at the loader level or at a lower level, so this might affect the vite loader and others too.
If you'd prefer a full repo to clone and run, let me know, and I can build one.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
To reproduce:
App.svelte
Test.svelte
If you have HMR running and update
Test.svelte
's'ok'
to be'ok2'
, the UI continues showing "ok", until you refresh the page.I'm not sure if this is an issue at the loader level or at a lower level, so this might affect the vite loader and others too.
If you'd prefer a full repo to clone and run, let me know, and I can build one.
The text was updated successfully, but these errors were encountered: