enhanced-img cache is too sticky
Open
Nobody has claimed this yet.
pkg:enhanced-img
- Dominant language
- JavaScript
- Stars
- 20.8k
- Forks
- 2.3k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 156
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or complete reproduction is provided. Start by reproducing the issue with enhanced:img and an updated foo.png, then inspect the Vite dev-server cache behavior around node_modules/.vite. Done means image changes appear without deleting the cache or restarting the server.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, vite
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100