Project uses Lib
Lib uses SubLib
You want to replace SubLib with a local version that you're working on to see the result in Project.
go.mod in Project to use the
// `lib` imports github.com/sublib/sublib
replace github.com/sublib/sublib => /local/dir/sublib
May my hours of suffering help another.