godoc sync (godocs automatic refresh)

238 views
Skip to first unread message

Jan Mercl

unread,
Feb 12, 2012, 4:51:25 AM2/12/12
to golan...@googlegroups.com
Can someone please confirm a not yet reported (aka can't find existing) issue with godoc? I'm using the same arguments as before weekly.2012-02-07 (starts at login):

godoc -http :6060 -sync true -sync_minutes 10

The e.g. "Last update: Sun Feb 12 09:46:43 +0100 CET 2012" shown at top of after clicking the 'src' and/or 'Packages' links at the home page seems to indicate that the std packages do get a regular rescan, while the src (which is far more importnant while developing) is always stuck at the godoc starting time (no rescan done).


Intended behavior or a bug? In the later case, should I fill an issue or is there already one about this?

TIA for any feedback.

Kyle Lemons

unread,
Feb 12, 2012, 3:50:15 PM2/12/12
to Jan Mercl, golan...@googlegroups.com
I noticed this behavior awhile ago and stopped using --sync_minutes.  I tried various sync commands with no luck.  I haven't tried again, so I can't confirm it hasn't been fixed, but I know it used to not work.

Ignacio Grande

unread,
Sep 28, 2014, 10:08:18 AM9/28/14
to golan...@googlegroups.com
I found this two and a half years old topic about refreshing godoc. It seems that the sync_minutes options has been removed.

I'm working with several open files, from libraries and programs, and I would like to use godoc to check the function names and parameters as I write.

Is there an alternative to restarting godoc? A "refresh" button would be nice...

Thanks.
Reply all
Reply to author
Forward
0 new messages