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
When using go run against code outside the gopath, that's symlinked to from the gopath,
go run fails to detect changes in dependences.
symlink $GOPATH/src/meh -> $HOME/meh
"meh" depends on "dep", located at $GOPATH/src/dep
go run $HOME/meh/*.go does not rebuild "dep" if "dep" has changed.
go version devel +e99621daceb3 Thu Aug 15 16:42:54 2013 +1000 linux/amd64
The text was updated successfully, but these errors were encountered:
The symlink seems like a distraction.
Are you saying that "dep" is not re-installed? Or that it is considered up-to-date and
the old package object is used, even though "dep" has changed?
The entire build suite uses Stat, not Lstat, so I agree with adg that the symlink detail
is likely irrelevant. I also verified by experiment that touching a dependent file that
is behind a symlink is still detected by the go command as a changed dependency.
In other words, I reproduced the structure as you described it and it worked fine. We
need more information.
The text was updated successfully, but these errors were encountered: