Skip to content

Commit

Permalink
show the effect of a server restart under reload; explain that templa…
Browse files Browse the repository at this point in the history
…te changes dont require a restart
  • Loading branch information
mcdonc committed Mar 19, 2012
1 parent 7a89a41 commit 5991d92
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/narr/project.rst
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -338,6 +338,22 @@ For example, on UNIX:
Starting server in PID 16601. Starting server in PID 16601.
Starting HTTP server on http://0.0.0.0:6543 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:: .. index::
single: WSGI single: WSGI


Expand Down

0 comments on commit 5991d92

Please sign in to comment.