Too many fast refresh logs? Should I worry?
Unanswered
American Crocodile posted this in #help-forum
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
@joulev 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
American CrocodileOP
Thank you for the explanation but when I reload the page all of them appear
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
[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.
If you don’t change any files but all of them still keep showing up then no it’s not normal.
@joulev 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.
American CrocodileOP
I don't change any file and refresh my browser. and the result is that it shows me a lot of these logs
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