- Forums
 - react
 - Quick Fix: Why Vite.Js Not Auto Refresh Page Changes From File
 
This Page Contains information about Quick Fix: Why Vite.Js Not Auto Refresh Page Changes From File By dd in category react with 0 Replies. [5051], Last Updated: Mon Jun 24, 2024 
 
 dd
 Fri Dec 30, 2022 
 0 Comments
 1158 Visits
This is a quick fix.
Problem: When you make changes to your .jsx file, the changes do not appear on the browser: http://localhost:3000/
Solutions:
- Ensure you are spelling your imports correctly. The imports file name and component names are case sensative.
 
For example, if you have a component called: src/components/Create.jsx
Incorrect:
import LogCreate from "./components/create";
 
Correct:
import LogCreate from "./compoents/Create";
 
Did you see the differences?
Now you should see the updates in your terminal. for example:
12:42:18 PM [vite] hmr update /src/components/Create.jsx (x5)