Why NextJS using Docker container did not reload after changed code for dev environment?
问题 I'm trying to run the NextJS on a Docker container using Dockerfile and running via docker-compose, after I changed my code in a JS file (such as index.js) the Next server did not reload. But when I've tried to run outside without using Docker (by executing the "npm run dev" command directly) the Next server did reload smoothly. I've also tried to run the server by "nodemon" command (inside a container), it did not make it either. Dockerfile: FROM node:10.14.2-alpine COPY . /home/next_app