Resolve symbolic links when loading develop.watch.path#661
Resolve symbolic links when loading develop.watch.path#661jhrotko merged 1 commit intocompose-spec:mainfrom
Conversation
670ded9 to
90ae054
Compare
90ae054 to
b591ed7
Compare
|
Can't we just rely on https://pkg.go.dev/path/filepath#EvalSymlinks here ? I also wonder we should do this for all path made absolute, not just |
@ndeloof, the thing is, the directory is a symbolic link and not the file itself. I tried using
I was not sure myself. I think the advantage of adding this change here, you do not need to deal with any transformations going further to compose to any watch code flow path. I can see both solutions working fine in this case |
|
related : golang/go#42201 |
Signed-off-by: Joana Hrotko <joana.hrotko@docker.com>
b591ed7 to
3eb1d09
Compare
Resolve symbolic links in
develop.watch.pathwhen loading the projectfixes: docker/compose#11849