> OK I see what you mean. I've now pulled the latest uwsgi from Github
> (d6eecd1) and that seems to fixed the issue with the reload :-)
>
> So now that the reload is working for changes to the underlying source
> file, what would be better is for the reload to get triggered by changes
> to
> the newly compiled file - is this a case of pointing the --touch-reload at
> the resulting binary?
>
> Also, I imagine there isn't any magic to have the whole re-compile and
> reload procedure get kicked off when the source file is saved in an
> editor?
>
>

Try this (after having pulled new uwsgi code from github):

[uwsgi]
http = :9090
http-modifier1 = 11
touch-exec = /home/foobar/test.go go build test.go
touch-reload = /home/foobar/test

this should trigger a compilation whenever test.go changes, and a reload
as soon as the binary changes


-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to