summaryrefslogtreecommitdiff
path: root/paste/reloader.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2006-03-15 16:25:34 +0000
committerianb <devnull@localhost>2006-03-15 16:25:34 +0000
commit558a136724b4b74ee2820b4b8985119e14e6fa5e (patch)
tree5bad014bdffd7ffa16e293701d9b8f2ef3820f0f /paste/reloader.py
parentf477b64ad223e829e7150b390ca3961f23f62d3c (diff)
downloadpaste-558a136724b4b74ee2820b4b8985119e14e6fa5e.tar.gz
Docstring addition from Alexey Shamrin
Diffstat (limited to 'paste/reloader.py')
-rw-r--r--paste/reloader.py14
1 files changed, 11 insertions, 3 deletions
diff --git a/paste/reloader.py b/paste/reloader.py
index 4097aba..8f0d551 100644
--- a/paste/reloader.py
+++ b/paste/reloader.py
@@ -14,9 +14,17 @@ Then make sure your server is installed with a shell script like::
err="$?"
done
-or restart in Python (server.py does this). Use the watch_file(filename)
-function to cause a reload/restart for other other non-Python files (e.g.,
-configuration files).
+or is run from this .bat file (if you use Windows)::
+
+ @echo off
+ :repeat
+ python server.py
+ if %errorlevel% == 3 goto repeat
+
+or run a monitoring process in Python (``paster serve --reload`` does
+this). Use the watch_file(filename) function to cause a
+reload/restart for other other non-Python files (e.g., configuration
+files).
"""
import os