facebook / facebook/buck2

Symlinked source directories are wonky

Open
#523 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4.4k
Forks
394
PR merge metrics
No merged PRs in 30d

Description

If I have a folder symlinked in my source directory, it doesn’t seem to pick up changes underneath it correctly.

for example, if I change a buck file inside the symlinked folder it doesn’t always detect it. If i retarget the symlink it doesn’t always detect that either.

The way to fix it is to restart the daemon, but often when doing that it triggers a full rebuild, like the internal state got messed up and it wasn’t correctly serializing whatever it uses to keep track of what’s up to date and what’s not.

tested on macOS, not sure if that makes a difference

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.