Next.js Discord

Discord Forum

Too many fast refresh logs? Should I worry?

Unanswered
American Crocodile posted this in #help-forum
Open in Discord
American CrocodileOP

8 Replies

@American Crocodile Click to see attachment
Each time the file changes, nextjs rebuilds the page which results in those logs. So if this is consistent with the number of times the file changes when you develops the page, it is fine
this is why I'm suspecting that there's something wrong
shouldn't it be just two? like:

[Fast Refresh] rebuilding
[Fast Refresh] done in 42ms
@American Crocodile shouldn't it be just two? like: [Fast Refresh] rebuilding [Fast Refresh] done in 42ms
Two lines every time any file in your codebase changes. Could be due to autosave in your IDE too, not just you manually ctrl+s’ing. Then yes it’s normal.

If you don’t change any files but all of them still keep showing up then no it’s not normal.
but this is a very hard issue to tackle because the source is unknown. right now I think i will try unmounting components and see if the logs decrease
I just commented out all of the dom. all logs are there