Introduced include
to filter files considered by watch
by ndeloof · Pull Request #12584 · docker/compose (original) (raw)
What I did
Introduce include
to only select a subset of files in source path for watch command.
Illustration example:
services: base: build: context: . dockerfile_inline: | FROM nginx develop: watch: - path: . include: "*.txt" # can also be an array action: rebuild
Related issue
closes #12544
see compose-spec/compose-go#747
(not mandatory) A picture of a cute animal, if possible in relation to what you did