diff --git a/src/cmd/godoc/appinit.go b/src/cmd/godoc/appinit.go index 3113498c841..e65be40945d 100644 --- a/src/cmd/godoc/appinit.go +++ b/src/cmd/godoc/appinit.go @@ -56,6 +56,9 @@ func init() { // initialize directory trees for user-defined file systems (-path flag). initDirTrees() + // Immediately update metadata. + updateMetadata() + // initialize search index if *indexEnabled { go indexer()