mirror of
https://github.com/golang/go
synced 2024-11-18 11:34:45 -07:00
cmd/tip: enable playground on tip.golang.org
Updates golang/go#28536 Change-Id: I3ece72aacd4635f4580be404672394a47791a1e8 Reviewed-on: https://go-review.googlesource.com/c/146917 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
d51e88b5ae
commit
92b943e6bf
@ -48,7 +48,7 @@ func (b godocBuilder) Init(dir, hostport string, heads map[string]string) (*exec
|
||||
}
|
||||
|
||||
godocBin := filepath.Join(goPath, "bin/godoc")
|
||||
godoc := exec.Command(godocBin, "-http="+hostport, "-index", "-index_interval=-1s")
|
||||
godoc := exec.Command(godocBin, "-http="+hostport, "-index", "-index_interval=-1s", "-play")
|
||||
godoc.Env = []string{"GOROOT=" + goDir}
|
||||
// TODO(adg): log this somewhere useful
|
||||
godoc.Stdout = os.Stdout
|
||||
|
Loading…
Reference in New Issue
Block a user