tonado 开发环境下 tornado 自动重启

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/yangxiaodong88/article/details/83277988
tornado.web.Application(

        handlers=[(r'/', HelloHandler)],

        template_path=os.path.join(os.path.dirname(__file__), 'templates'),

        ui_modules={'Hello': HelloModule},

        debug=True

    )

debug =true

在修改代码,就会自动重启,不需要手动了,出现错误直接在html显示

猜你喜欢

转载自blog.csdn.net/yangxiaodong88/article/details/83277988