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
Using unplugin-icons with Vite and Vue 3, I keep running into an issue where it doesn't regenerate the components generated via FileSystemIconLoader when I edit the SVGs. Nothing cached on the client side (nothing in local or session storage, different browser, etc) and this isn't resolved by clearing the build cache.
I assume that is somewhere in Iconify and not unplugin-icons, but I find that code base fairly confusing tbh.
What am I missing?
Edit: Found the iconify code. It looks fairly simple tbh, and I don't see anything that could cause this.
Edit #2: This seems to be a Vite issue. Restarting the dev server after every icon change fixes this. It's probably cached in-memory in addition to on disk.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Using unplugin-icons with Vite and Vue 3, I keep running into an issue where it doesn't regenerate the components generated via
FileSystemIconLoader
when I edit the SVGs. Nothing cached on the client side (nothing in local or session storage, different browser, etc) and this isn't resolved by clearing the build cache.I assume that is somewhere in Iconify and not unplugin-icons, but I find that code base fairly confusing tbh.
What am I missing?
Edit: Found the iconify code. It looks fairly simple tbh, and I don't see anything that could cause this.
Edit #2: This seems to be a Vite issue. Restarting the dev server after every icon change fixes this. It's probably cached in-memory in addition to on disk.
Beta Was this translation helpful? Give feedback.
All reactions