Docker compose watch rebuild with no cache

Hi there,

I have a docker compose with a watch enabled on it.

        - action: rebuild
          path: ./Dockerfile

Is there any way to rebuild with no-cache.
Is there any key that i can set.

It seems you could use docker compose up --build or try to use no_cache.

Thanks for your reply but I just found a work around it because i was using DevOps so i just added some task to build the docker container again instead of running watch on it