Tornado 6.5 Documentation
template_loader application setting. Compiled templates are cached by default; to turn off this caching and reload templates so changes to the underlying files are always visible, use the application settings co flag takes precedence): • autoreload=True: The app will watch for changes to its source files and reload itself when anything changes. This reduces the need to manually restart the server during development setting. • debug: Shorthand for several debug mode settings, described in Debug mode and automatic reload- ing. Setting debug=True is equivalent to autoreload=True, compiled_template_cache=False, static_hash_cache=False0 码力 | 272 页 | 1.12 MB | 2 月前3Tornado 6.5 Documentation
template_loader application setting. Compiled templates are cached by default; to turn off this caching and reload templates so changes to the underlying files are always visible, use the application settings co flag takes precedence): autoreload=True: The app will watch for changes to its source files and reload itself when anything changes. This reduces the need to manually restart the server during development tornado.autoreload — Automatically detect code changes in development start() wait() watch() add_reload_hook() main() tornado.concurrent — Work with Future objects Future run_on_executor() chain_future()0 码力 | 437 页 | 405.14 KB | 2 月前3
共 2 条
- 1
相关搜索词