diff options
| author | Chris McDonough <chrism@plope.com> | 2012-03-19 00:34:19 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-03-19 00:34:19 -0400 |
| commit | 5991d92b9508223df12ecd07f65ec8e9bbfdc3d9 (patch) | |
| tree | 4c1d773895139948943861cc10b9692b3275af33 | |
| parent | 7a89a410f86b3c7d606f1a2e1adbaf035ffd7077 (diff) | |
| download | pyramid-5991d92b9508223df12ecd07f65ec8e9bbfdc3d9.tar.gz pyramid-5991d92b9508223df12ecd07f65ec8e9bbfdc3d9.tar.bz2 pyramid-5991d92b9508223df12ecd07f65ec8e9bbfdc3d9.zip | |
show the effect of a server restart under reload; explain that template changes dont require a restart
| -rw-r--r-- | docs/narr/project.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/narr/project.rst b/docs/narr/project.rst index 4a34b7568..8c837be74 100644 --- a/docs/narr/project.rst +++ b/docs/narr/project.rst @@ -338,6 +338,22 @@ For example, on UNIX: Starting server in PID 16601. Starting HTTP server on http://0.0.0.0:6543 +Now if you make a change to any of your project's ``.py`` files or ``.ini`` +files, you'll see the server restart automatically: + +.. code-block:: text + + development.ini changed; reloading... + -------------------- Restarting -------------------- + Starting server in PID 16602. + Starting HTTP server on http://0.0.0.0:6543 + +Changes to template files (such as ``.pt`` or ``.mak`` files) won't cause the +server to restart. Changes to template files don't require a server restart +as long as the ``pyramid.reload_templates`` setting in the +``development.ini`` file is ``true``. Changes made to template files when +this setting is true will take effect immediately without a server restart. + .. index:: single: WSGI |
