fast reload (without restart) like Next.js
See original GitHub issuePrerequisites
- I have written a descriptive issue title
- I have searched existing issues to ensure the feature has not already been requested
🚀 Feature Proposal
Hi, my project has a lot of routes ~100 routes and ~150 dependencies. And everything is slowing down.
I used all tools nodemon
, ts-node
, ts-node-dev
, backpack
and fastify-cli
(v4)
I even purchase a new good CPU with a benchmark score is 24000
But my project still takes 4-5s to restart when a file is changed.
I am using Next.js too. And I am curious why Next.js never needs to restart the server, but other node.js frameworks can’t do that 🤔
Motivation
Everyone is happy.
Example
No response
Issue Analytics
- State:
- Created a year ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Basic Features: Fast Refresh - Next.js
Next.js' Fast Refresh is a new hot reloading experience that gives you instantaneous feedback on edits made to your React components.
Read more >Next.js : Refresh page after modifying a file, without rerunning ...
@Rudi's answer is correct, and I'll add to that that you want to make sure the command you're ultimately running is next ,...
Read more >Breaking: Fast Refresh for .env files in Next.js 12.3
Create React App also has the same problem. For any change in a file like .env.local , the app will not reload, neither...
Read more >Refreshing Server-Side Props - Next.js - Josh W Comeau
How do we tell Next.js to re-fetch the data, on demand, without doing a hard refresh of the whole page? In this short...
Read more >Fast Reliable/Hot Reloading in Next.js - Coding Ninjas
Fast Reloading without changing the state · Fast refresh only renders the components from a file if it exports React components · It...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think it can do it because of money. Vercel pays devs to work on the Next.js framework full-time.
@sidwebworks I just tested it, it is faster than
ts-node
but not faster thanfastify-cli
.