Docker compose watch rebuild with no cache

Hi there,

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

develop:
      watch:
        - 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

Just for future visitors, when you write ā€œDevOpsā€ you mean the DevOps server formerly known as TFS, right?

yes but to be more specific i am using circleci and i just added some additional tasks in it to work around it.