diff options
author | ianb <devnull@localhost> | 2006-03-15 16:25:34 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2006-03-15 16:25:34 +0000 |
commit | 558a136724b4b74ee2820b4b8985119e14e6fa5e (patch) | |
tree | 5bad014bdffd7ffa16e293701d9b8f2ef3820f0f /paste/reloader.py | |
parent | f477b64ad223e829e7150b390ca3961f23f62d3c (diff) | |
download | paste-558a136724b4b74ee2820b4b8985119e14e6fa5e.tar.gz |
Docstring addition from Alexey Shamrin
Diffstat (limited to 'paste/reloader.py')
-rw-r--r-- | paste/reloader.py | 14 |
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 |