nextjs and webpack – hot code reload does not within docker container


We have a nextjs + webpack app and we have containerized the app. However, the hot code reload does not work when we start the app in the docker, but it works without docker. I am wondering what can cause this issue?

We are mounting code root directory inside container workdir and we are also mounting node_modules folder.

Before we have having the same issue with nodemon but it is fixed with nodemon -L , since our OS is windows.



submitted by /u/ufsi7259
[link] [comments]
Source: Reddit