Strapi Version: 3.6.8
Operating System: windows 10
Node Version: v14.15.3
NPM Version: 6.14.9
Hi, I have set up the whole strapi cms with docker using the tutorials, but when i deploy it locally, the code hot reload doesn’t work. Is there any extra setting i have to do?
My docker-compose looks like this:
If i launch it without docker, the hot reload works properly.
Thanks in advance!
If you want to run it with hot reload just start the database and don’t use docker for the strapi container, only for the database. then use
npm for local development and then you will have hot reload.
Yep, that was already working, but there is no chance to use docker for hot reaload?
Well if you want to use
--watch-admin for frontend development then no as far as I know as I think it’s a known issue.
When it comes to use of just backend, again I think it won’t work as you are trying to look at files inside a container and strapi (inside the container) won’t notice filechanges. Even though docker has changed files.
Ok, i will run it without docker compose then.
Thank you very much