# Hot reloading using docker in p5.js web editor

**URL:** <https://discourse.processing.org/t/hot-reloading-using-docker-in-p5-js-web-editor/42801>\
**Category:** p5.js\
**Created:** [September 20, 2023, 5:56am UTC](https://discourse.processing.org/t/hot-reloading-using-docker-in-p5-js-web-editor/42801 "2023-09-20T05:56:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harsha10](https://avatars.discourse-cdn.com/v4/letter/h/977dab/32.png) [@Harsha10](https://discourse.processing.org/u/Harsha10)\
**Post date:** [September 20, 2023, 5:56am UTC](https://discourse.processing.org/t/hot-reloading-using-docker-in-p5-js-web-editor/42801/1 "2023-09-20T05:56:23Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Akhil798](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Akhil798](https://discourse.processing.org/u/Akhil798)\
**Post date:** [September 20, 2023, 2:37pm UTC](https://discourse.processing.org/t/hot-reloading-using-docker-in-p5-js-web-editor/42801/2 "2023-09-20T14:37:26Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Harsha10](https://avatars.discourse-cdn.com/v4/letter/h/977dab/32.png) [@Harsha10](https://discourse.processing.org/u/Harsha10)\
**Post date:** [September 21, 2023, 1:29pm UTC](https://discourse.processing.org/t/hot-reloading-using-docker-in-p5-js-web-editor/42801/3 "2023-09-21T13:29:30Z")

</div>

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.
