Hot reload stops working without layout.tsx with new App Router
Unanswered
American Hairless Terrier posted this in #help-forum
American Hairless TerrierOP
Hot reload (save code and see changes straight away without refreshing) works in the root page.tsx but not in the dashboard subtree.
When I add layout.tsx in the dashboard subtree, hot reload starts working again, why?
When I add layout.tsx in the dashboard subtree, hot reload starts working again, why?
app
- page.tsx // hot reload works here
- layout.tsx
- dashboard
- page.tsx // hot reload does not work here