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
{{ message }}
Repository navigation
[BUG?] changing an asset doesn't reload the app using new URL syntax (dev mode) #5334
If you load an asset using fetch(new URL('./some-image.png, import.meta.url).href), the app is expected to reload when the asset changes. However nothing appends.
On my point of view, the app should reload if the imported assets change. It may be useful if we have, for example, a markdown to html preview component. Currently, if we update the .md file, nothing happen.
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
Activity