You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I noticed that ibazel seemed to either not rebuild or inconsistently rebuild some of my projects. Digging into it turned up that ibazel does not resolve symlinks before passing the directory paths to fsevents.
Describe the bug
I noticed that
ibazel
seemed to either not rebuild or inconsistently rebuild some of my projects. Digging into it turned up that ibazel does not resolve symlinks before passing the directory paths tofsevents
.This results in a scenario where either:
fsevents
is watching a symlink, which it states in its README: "FSEvents returns events for the named path only, so unless you want to follow updates to a symlink itself (unlikely), you should use filepath.EvalSymlinks to get the target path to watch."fsevents
contain paths that do not match the non-resolved paths ibazel is monitoringReproduction instructions
Steps to reproduce the behavior:
git clone https://github.com/klandergren/ibazel-symlinked-workspace
cd holder/my-project
ibazel run //:simple
working-directory/simple.sh
to have a different messageibazel
not rebuildingExpected behavior
ibazel
detects the source file change insimple.sh
and triggers a rebuild / re-run.Actual behavior
ibazel
does not detect the source file change and does not rebuild / re-run.Version (please complete the following information):
iBazel - Version 0.24.0
Additional context
This does not touch on the issue of whether or not bazel should be resolving symlinks within a workspace, just on situations where the workspace may be visited through a symlink.
The text was updated successfully, but these errors were encountered: