buraste / strapi-nextjs-docker-boilerplate

🎨 Boilerplate for building Dockerized 🐳 applications using Strapi v4 + Next.js + Postgres +Nginx
https://github.com/burakibis/strapi-nextjs-docker-boilerplate
MIT License
78 stars 19 forks source link

Fix for unresponsive frontend display #4

Closed PeakVisionMediaKLG closed 2 months ago

PeakVisionMediaKLG commented 1 year ago

I ran into the problem that localhost didn't show changes I made in the next.js files without restarting your frontend docker container. This is a suggestion to fix this problem. It adds sort of a listener for changes in the next dev environment in next.config.js (It might not work for production environments.)