Tiltfile docker_build() restart container only when a few files change
docker_build() has ability to live-update. Let’s assume three directories (dir1
, dir2
and dir3
) are initially used in building a docker image. The user doesn’t want any updates in the dir3
to rebuild the image / restart the container.