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
When you import a file with ?raw approach (tested on .html and .txt files, likely reproducible on other file types too), they don't update in build folder after modifications. On v1 it works fine. Seems to be similar to #492
Expected: 456 in the console and the corresponding file in the build folder right after changing.
Actual: 123 in the console and in the corresponding file in the build folder until you restart the server (either with npm command rerun or "r" shortcut in the vite terminal)
Build tool
Vite
Where do you see the problem?
Describe the bug
When you import a file with
?raw
approach (tested on .html and .txt files, likely reproducible on other file types too), they don't update in build folder after modifications. On v1 it works fine. Seems to be similar to #492Reproduction
content-script.ts:
test.html:
456
Expected:
456
in the console and the corresponding file in thebuild
folder right after changing.Actual:
123
in the console and in the corresponding file in thebuild
folder until you restart the server (either with npm command rerun or "r" shortcut in the vite terminal)Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: