at first, this may seem correct, and it will even work. However, notice that the project resolves a relative path .. to CWD, rather than the directory, i.e. for both scripts it will be /apps. Whereas the intention was:
There are definitely valid use cases for overlapping project directories. However, in most cases this is not intentional and logging a warning would help the end user troubleshoot.
Imagine two services:
Both have the same
bin/watch
script:at first, this may seem correct, and it will even work. However, notice that the
project
resolves a relative path..
to CWD, rather than the directory, i.e. for both scripts it will be/apps
. Whereas the intention was:There are definitely valid use cases for overlapping project directories. However, in most cases this is not intentional and logging a warning would help the end user troubleshoot.