怎么解决python tornado总是需要重启的问题,pythontornado,用过webpy 当你改了


用过webpy 当你改了代码之后只要刷新浏览器就ok的- - 但是tornado中你必须重启 进程才行- - 是哪里设置了缓存么?怎么处理

instance = IOLoop.instance() tornado.autoreload.start(instance) #修改代码自动加载无需重启app instance.start()

(..., debug=True)

可以参考这里http://www.qixing318.com/article/use-the-supervisor-and-nginx-tornado-program.html

编橙之家文章,

评论关闭