Node.js hot reload #3896
Unanswered
georgekrax
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Whenever I restart my Node.js
index.js
server file it takes too long, because of all the DB connections, GraphQL stuff and of course imports. So, I was wondering how does Next.js achieve such an incredible development performance with both frontend and backend? I guess it hot reloads files that are only changed and not the whole project directory.So, is there a way I can implement something similar myself? Do you know where I can find hot reload / fast refresh code of Next.js in their repo? Can SWC help with this whole procedure?
Thanks for the help!
Beta Was this translation helpful? Give feedback.
All reactions