]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Rename auto-reload module
authorBret Taylor <btaylor@gmail.com>
Wed, 16 Sep 2009 08:49:58 +0000 (01:49 -0700)
committerBret Taylor <btaylor@gmail.com>
Wed, 16 Sep 2009 08:49:58 +0000 (01:49 -0700)
tornado/autoreload.py [moved from tornado/reloader.py with 96% similarity]
tornado/web.py

similarity index 96%
rename from tornado/reloader.py
rename to tornado/autoreload.py
index d0a1389fc9014861b2cadc1b54475f8caf467ef1..864eec667b423bd9a9615c7ac6172f88e4c6b805 100644 (file)
@@ -14,6 +14,8 @@
 # License for the specific language governing permissions and limitations
 # under the License.
 
+"""A module to automatically restart the server when a module is modified."""
+
 import functools
 import ioloop
 import logging
index 2e23e748d0685dba4ef7832379bf135c3d77f8cc..a625e783864c0f47f64068d0c1e6b0e4e9a220f2 100644 (file)
@@ -879,8 +879,8 @@ class Application(object):
 
         # Automatically reload modified modules
         if self.settings.get("auto_reload"):
-            import reloader
-            reloader.start()
+            import autoreload
+            autoreload.start()
 
     def add_handlers(self, host_pattern, host_handlers):
         """Appends the given handlers to our handler list."""