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
I have a static website (vanilla JS) that contains mulitple pages (.html files) where the non-index.html (project-root index.html) files are not reloaded (dev server) despite changes being applied to them. Is this normal? If not, what should I change in config?
Currently using vite 5.2.11
Does vite reload pages that are not index.html (when there are updates to them)?
I have swapped the anchor tag hrefs in the .html files to have the extension (.html) removed.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a static website (vanilla JS) that contains mulitple pages (.html files) where the non-index.html (project-root index.html) files are not reloaded (dev server) despite changes being applied to them. Is this normal? If not, what should I change in config?
Currently using vite 5.2.11
Here is the project structure:
current vite.config.js setup:
Does vite reload pages that are not index.html (when there are updates to them)?
I have swapped the anchor tag hrefs in the .html files to have the extension (.html) removed.
Beta Was this translation helpful? Give feedback.
All reactions