title: Docker doesn't reflect changes made from git
body: <p>A new issue I started having today is that when I <code>git checkout main</code> outside of docker, the changes don't reflect inside docker.</p>
  <p>When I <code>docker compose exec app bash</code> the folder structure does not change until I input <code>docker compose down</code> then <code>docker compose up</code>.</p>
  <p>It used to update this automatically before today, I haven't made any changes to my <code>docker-compose.yaml</code> or <code>DockerFile</code> at all.</p>
  <p>Other team members also use the setup and DockerFile and they don't seem to experience any of this.</p>
  <p>Long shot but does anybody have an idea?</p>
  <p>Here is my docker-compose.yaml file</p>
  <pre><code>version: '3.8'
  services:
    app:
      build:
        context: ./docker/app
        dockerfile: Dockerfile
      image: example/app
      volumes:
        - .:/var/www/example-dev
      networks:
        - example-net
  </code></pre>
  <p>I am using docker desktop Version 3.5.1 (3.5.1.7) on Mac</p>