Michael Merickel
2016-11-19 1644efffa25dcc70c9e01f709fbd203351e2f6ba
link to documentation on hupper

fixes #2806
3 files modified
26 ■■■■■ changed files
docs/narr/project.rst 20 ●●●●● patch | view | raw | blame | history
docs/tutorials/wiki/installation.rst 3 ●●●● patch | view | raw | blame | history
docs/tutorials/wiki2/installation.rst 3 ●●●● patch | view | raw | blame | history
docs/narr/project.rst
@@ -1045,3 +1045,23 @@
mod_wsgi, although it depends, in its default configuration, on having a
buffering HTTP proxy in front of it.  It does not, as of this writing, work on
Windows.
Automatically Reloading Your Code
---------------------------------
During development, it can be really useful to automatically have the
webserver restart when you make changes. ``pserve`` has a ``--reload`` switch
to enable this. It uses the
`hupper <http://docs.pylonsproject.org/projects/hupper/en/latest/>` package
to enable this behavior. When your code crashes, ``hupper`` will wait for
another change or the ``SIGHUP`` signal before restarting again.
inotify support
~~~~~~~~~~~~~~~
By default, ``hupper`` will poll the filesystem for changes to all python
code. This can be pretty inefficient in larger projects. To be nicer to your
hard drive, you should install the
`watchdog <http://pythonhosted.org/watchdog/>` package in development.
``hupper`` will automatically use ``watchdog`` to more efficiently poll the
filesystem.
docs/tutorials/wiki/installation.rst
@@ -370,7 +370,8 @@
Start the application
---------------------
Start the application.
Start the application. See :ref:`what_is_this_pserve_thing` for more
information on ``pserve``.
On UNIX
^^^^^^^
docs/tutorials/wiki2/installation.rst
@@ -457,7 +457,8 @@
Start the application
---------------------
Start the application.
Start the application. See :ref:`what_is_this_pserve_thing` for more
information on ``pserve``.
On UNIX
^^^^^^^