Q:

Auto reload in docker compose on code change

I am starting some services with docker-compose:
docker-compose up

I notice that whenever I make changes to the code base, one of the containers (incidentally the one with the specification build: ./ in the docker compose file), restarts. I assume this is attributable to docker-compose, but I can not find any reference to this fact in the documentation.
Is this really due to docker-compose?
Where is this documented?

A:

As per your comments the source code is mounted inside the container and your entrypoint gunicorn is looking at that source code and picking up on any changes to it.
This seems like a good development scenario and one of the benefits docker gives.

