Fast Refresh Inconsistent
Unanswered
Old Croatian Sighthound posted this in #help-forum
Old Croatian SighthoundOP
I'm noticing with my development of NextJs many times I need to restart the dev server as it's not actually reflecting the changes I'm making.
I'm just running it in VSCode using the "next dev" command.
Scenarios I've noticed this happens with:
1. Making changes to route.ts files, sometimes it doesn't fire and although it's finishing compiling, if I re-run the logic to execute against the endpoint, the old response is still being sent without the changes.
2. Sometimes it recompiled whilst I'm in the middle of editing a react component, causing the frontend to display an error (eg it re-compiles during editing html tags so it can't render), the only fix is to restart the dev server.
Is this a common issue? Do I need to configure something differently?
I'm just running it in VSCode using the "next dev" command.
Scenarios I've noticed this happens with:
1. Making changes to route.ts files, sometimes it doesn't fire and although it's finishing compiling, if I re-run the logic to execute against the endpoint, the old response is still being sent without the changes.
2. Sometimes it recompiled whilst I'm in the middle of editing a react component, causing the frontend to display an error (eg it re-compiles during editing html tags so it can't render), the only fix is to restart the dev server.
Is this a common issue? Do I need to configure something differently?