Next.js Discord

Discord Forum

How to see the changes on my app without restarting the docker container?

Unanswered
Asiatic Lion posted this in #help-forum
Open in Discord
Asiatic LionOP
I'm developing an app using Next.js and Docker. Every time I want to make a change and see it reflected on localhost, I have to restart the front-end container. How can I avoid having to do this again?
thanks in advance!

4 Replies

Dutch
docker is meant for production level (redeploy when you change sth) approach, its better to have local dev servers for quick changes
docker has a watch mode these days
learn about it and set it up