File tree 1 file changed +18
-0
lines changed 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -809,6 +809,24 @@ the Google credentials in a cookie for later access:
809
809
See the `auth` module documentation for more details.
810
810
811
811
812
+ ### Debug mode and automatic reloading
813
+
814
+ If you pass `debug=True` to the `Application` constructor, the app will be run
815
+ in debug mode. In this mode, templates will not be cached and the app will
816
+ watch for changes to its source files and reload itself when anything changes.
817
+ This reduces the need to manually restart the server during development.
818
+ However, certain failures (such as syntax errors at import time) can still
819
+ take the server down in a way that debug mode cannot currently recover from.
820
+
821
+ Debug mode is not compatible with `HTTPServer`'s multi-process mode. You
822
+ must not give `HTTPServer.start` an argument greater than 1 if you are using
823
+ debug mode.
824
+
825
+ The automatic reloading feature of debug mode is available as a
826
+ standalone module in `tornado.autoreload`, and is optionally used by
827
+ the test runner in `tornado.testing.main`.
828
+
829
+
812
830
Performance
813
831
-----------
814
832
Web application performance is generally bound by architecture, not frontend
You can’t perform that action at this time.
0 commit comments