-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plugin-react-refresh does not work #4142
Comments
Maybe not much of help but just want to add that I'm experiencing similar issues on my end after updating from 1.3.8 to 1.4.1. However I have problem isolating the problem in a minimal repo. My issue is that it performs a hard reload every time I edit a file that's within a sub-folder to |
Don't use unnamed component. const App = () => {
return <div>123</div>
}
export default App |
@OneNail I have a similar problem and I tried both the |
It's not a bug of vite. see #4298 (comment) |
would it be better if I can reproduce the bug with named components? Edit: nvm, looks like it got fixed between 2.3.7 and 2.4.4 |
Describe the bug
I found when using
plugin-react-refresh
that I had to add an unrelated component for the hot update to work, see the videoUntitled.mov
Reproduction
vite-test.zip
System Info
Used Package Manager
yarn
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: