用过webpy 当你改了代码之后只要刷新浏览器就ok的- – 但是tornado中你必须重启 进程才行- – 是哪里设置了缓存么?怎么处理
有设置的,
参考:
http://www.tornadoweb.org/documentati…
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
正文完