Hot reloading stops working after some time in components folder #14447
Unanswered
serendipity1004
asked this question in
Help
Replies: 1 comment
-
Did you get this figured out? I have a smilar project and I'd love to see what your Dockerfiles look like. By chance is this project hosted here? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently using docker compose for development. When working with docker compose with nextJS, hot reloading abruptly stops working after some time. It's totally random when it happens but it does not happen in the
pages
files. For me it's only been happening in components folder. What's even worse is that if I force reload by changing files inpages
folder because they are still responsive, the changes incomponents
folder is not reflected. Almost as if the server took a snapshot of previous version of the components. I am attaching .gif file to demonstrate the issue. I can provide any additional information. I am just attaching the .gif file because I have no idea where to look.When I put

//
in the file within components folder which I am 100% sure is imported in the index.tsx page, hot reload does not work. However, when I do the same action in the index.tsx page, hot reload works just fine.my docker compose file looks like below
Beta Was this translation helpful? Give feedback.
All reactions