Not detect new added file when page reload #16499
Unanswered
nightmare14226
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I use vite 4.0.4, if I add new file to /static/ folder and import that in code, when page reloaded it's working well.
But in vite 5.2.9, code doesn't find new added file.
What is changed from 4.0.4??
Below steps describe my issue in more detail.
https://github.com/nightmare14226/test-vite
This is test project to showcase my issue.
It't now vite@5.2.10
Result: returns error, code doesn't find new added file-2.glb
But if I downgrade vite to 4.0.4, above step's result loads 2.glb well.
Here is 2.glb
Beta Was this translation helpful? Give feedback.
All reactions