Hi Stifan,

I basically followed the example on the PyPi site which works fine. NB I 
did not manage to reload the modules in apps/myapp manually (from shell).

Have not had too much time today to get into it deeply as have other 
commitments.

I did however try to force the load_app to load as opposed to reload when 
the button is clecked but still same result. 

Really weird.

BR
John


On Saturday, 18 May 2019 13:36:34 UTC+2, 黄祥 wrote:
>
> *web3py/web3py/core.py*
> tried
> bottle.run(server='tornado', host=host, port=int(port), reloader=True)
> and 
> bottle.run(host=host, port=int(port), reloader=True)
> got same result, edit and add new function, routes for <myapp> not work
>
> tested work for edit and add new function (but still routes for <myapp> 
> still not work)
> *web3py/web3py/core.py*
> bottle.run(server='gevent', host=host, port=int(port), reloader=True)
>
> but the log run strangely (loaded web apps twice):
> $ ./web3py-start apps
> ________  ____  ______  __
> |  ____/ / / ____/ __ |/___ \/ __ \ \/ /
> | |     / / /_  / /_/ /___/ / /_/ /\  /
> | | /| / / __/ / __  //__  / ____/ / /
> | |/ |/ / /___/ /_/ /___/ / / ____/ /
> |___/|_/_____/_____/_____/_/ /_____/
> It is still experimental...
>
> Dashboard is at: http://127.0.0.1:8000/_dashboard
> [OK] loaded _dashboard     
> [OK] loaded _scaffold     
> [OK] loaded examples     
> [OK] loaded myapp     
> [OK] loaded superheroes     
> [OK] loaded todo     
>  _______  ____________  ____  ______  __
> |  ____/ / / ____/ __ |/___ \/ __ \ \/ /
> | |     / / /_  / /_/ /___/ / /_/ /\  /
> | | /| / / __/ / __  //__  / ____/ / /
> | |/ |/ / /___/ /_/ /___/ / / ____/ /
> |___/|_/_____/_____/_____/_/ /_____/
> It is still experimental...
>
> Dashboard is at: http://127.0.0.1:8000/_dashboard
> [OK] loaded _dashboard     
> [OK] loaded _scaffold     
> [OK] loaded examples     
> [OK] loaded myapp     
> [OK] loaded superheroes     
> [OK] loaded todo     
> Bottle v0.12.16 server starting up (using GeventServer())...
> Listening on http://127.0.0.1:8000/
> Hit Ctrl-C to quit.
>
> @john, perhaps you can share how to run reloader manually ?
>
> thx n best regards,
> stifan
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/505119f8-1517-40bf-9c97-47155cc2c561%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to