sveltejs / kit

web development, streamlined
https://svelte.dev/docs/kit
MIT License
18.75k stars 1.95k forks source link

enhanced-img cache is too sticky #13010

Open Rich-Harris opened 1 week ago

Rich-Harris commented 1 week ago

Describe the bug

If I have <enhanced:img alt="..." src="./foo.png">, and update foo.png, the page doesn't update. I have to nuke the cache with rm -rf node_modules/.vite and restart the dev server

Reproduction

later

Logs

No response

System Info

latest

Severity

annoyance

Additional Information

No response