Can somone explain to me what is the difference and advantages of using docker compose develop vs volume?
Compose Develop Specification | Docker Docs is not deep on this. Any reason I should do:
services:
app:
build:
target: develop
command: tail -F /dev/null
volumes:
- ".:/w:Z"
working_dir: "/w"
or
services:
app:
build:
target: develop
command: tail -F /dev/null
develop:
watch:
- action: sync
path: .
target: /w
working_dir: "/w"
Any performance or other benefits of develop watch over mounting the volume?