Hot reloading using docker in p5.js web editor

I have set up the p5.js web editor in my local system through docker which i’m relatively new to it.
i find that hot reloading is not occuring using the docker commands which were given in contributor docs.
these are the commands in docs:

  1. $ docker-compose -f docker-compose-development.yml build
  2. $ docker-compose -f docker-compose-development.yml up
    as it is very tough to rebuild the images everytime i make changes, please help me to enable hot reloading with docker.

Okay, This should not be an issue but can you provide me some details about it.

  • Have you installed Docker Compose?
  • Which version of docker compose you are using?
  • What OS are you using?

Personally on my system i am using docker compose instead of docker-compose which i think is a new version of docker and is working perfectly with hot reloading and other stuff. You can try that.

Mine is windows 11, i have installed docker compose, version 2.21.0
Did you make any changes in docker compose file or any of docker files?
Can you please give your commands you are using.