You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an app that uses svelte, windicss and vite. Customisation made within windi.config.js if not used before cold start are not getting picked up by the HMR.
Minimal Reproductions
Here's the codesandbox that produces this bug.
bg-primary is used in App.svelte
When vite is started it correctly reflects the custom color.
When the value of primary is changed it gets pickedup by vite's HMR and is reflected on the site.
If the class is now changed to bg-secondary which was not used in the app earlier, though vite's file watcher records the change, the class itself is not reflected in the output. Possibly because it does not get sent to the browser by windicss
Versions
vite-plugin-windicss: 1.4.3
vite: 2.5.7
framework(vue/react/svelte/etc): svelte
The text was updated successfully, but these errors were encountered:
Describe the bug
I have an app that uses
svelte
,windicss
andvite
. Customisation made withinwindi.config.js
if not used before cold start are not getting picked up by the HMR.Minimal Reproductions
Here's the codesandbox that produces this bug.
bg-primary
is used inApp.svelte
primary
is changed it gets pickedup by vite's HMR and is reflected on the site.bg-secondary
which was not used in the app earlier, though vite's file watcher records the change, the class itself is not reflected in the output. Possibly because it does not get sent to the browser bywindicss
Versions
1.4.3
2.5.7
svelte
The text was updated successfully, but these errors were encountered: