buildx icon indicating copy to clipboard operation
buildx copied to clipboard

Watch mode / `build --watch`

Open felipecrs opened this issue 2 years ago • 2 comments

Since Buildkit knows exactly which files in the system are required for the build, a --watch mode, that would rebuild an image automatically in case one of the files depended by it changes would come very in handy when developing docker images locally, or especially when testing them.

When called with --watch, buildx would NOT exit upon creation of the image, but instead would wait until the user exits with Ctrl+C.

Additionally, a bake --watch would be even better.

felipecrs avatar Sep 27 '22 13:09 felipecrs

I agree, a bake --watch would be awesome!

sprat avatar Jul 29 '23 09:07 sprat

/assign ✋🏻

Azhovan avatar Dec 29 '23 23:12 Azhovan