Say I have the following build file:
cxx_binary(
name = "original",
srcs = ["main.cpp"],
)
cxx_binary(
name = "symlink",
srcs = ["symlink.cpp"],
)
where
> ls -l main.cpp symlink.cpp
-rw-r--r-- 1 user user 58 Apr 17 17:36 main.cpp
lrwxrwxrwx 1 user user 8 Apr 17 17:37 symlink.cpp -> main.cpp
A change to main.cpp will only output original as being affected, not symlink. I assume that this is because the change detector only considers the files in changes.txt/the VCS dump, which don't consider symlinks?
Is there a recommended way to deal with this?