Is this potentially one of the things that doesn't work too well on OSX? Running the following with go1.1rc2 darwin/amd64:
$ ./main --http :18081 --http-modifier1 11 --touch-reload main.go results in the following error: mach error semaphore_signal: 15 fatal error: mach error goroutine 1 [syscall]: [fp=0x5cde90] runtime.cgocallbackg(0x7fff5fbfe7a0, 0x7fff5fbfe828, 0x0) /usr/local/go/src/pkg/runtime/cgocall.c:272 +0x153 [fp=0x5cdeb0] runtime.cgocallback_gofunc() /usr/local/go/src/pkg/runtime/asm_amd64.s:635 +0x71 [fp=0x5cdeb8] return() /usr/local/go/src/pkg/runtime/asm_amd64.s:508 [fp=0x5cdf00] runtime.cgocall(0x16980a, 0x5cdf18) /usr/local/go/src/pkg/runtime/cgocall.c:162 +0x128 [fp=0x5cdf18] uwsgi._Cfunc_uwsgi_init(0x7, 0x11100000, 0x0, 0xc2000a4960) uwsgi/_obj/_cgo_defun.c:149 +0x2f [fp=0x5cdf70] uwsgi.Run() uwsgi/_obj/_cgo_gotypes.go:4209 +0xe9 [fp=0x5cdf90] main.main() /Users/0x6e6562/Workspace/project/src/main.go:21 +0x66 [fp=0x5cdfb8] runtime.main() /usr/local/go/src/pkg/runtime/proc.c:182 +0x92 [fp=0x5cdfc0] runtime.goexit() /usr/local/go/src/pkg/runtime/proc.c:1223 On Tue, May 7, 2013 at 12:23 PM, Roberto De Ioris <[email protected]> wrote: > > > Hi, > > > > What is the idiomatic way of getting uwsgi to auto-reload changes to the > > handlers written in Go? > > > > Cheers, > > > > Ben > > > > That's a good question :) > > I suppose having a --touch-reload for each .go file could be a good > approach > > > -- > Roberto De Ioris > http://unbit.it > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
