Skip to content

Commit

Permalink
add changes for #2805
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerickel committed Nov 20, 2016
1 parent ac62f95 commit df52b65
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,29 @@ Features
as soon as possible before importing the rest of pyramid.
See https://github.com/Pylons/pyramid/pull/2797

- ``pserve --reload`` now uses the
`hupper <http://docs.pylonsproject.org/projects/hupper/en/latest/>`
library to monitor file changes. This comes with many improvements:

- If the `watchdog <http://pythonhosted.org/watchdog/>`_ package is
installed then monitoring will be done using inotify instead of
cpu and disk-intensive polling.

- The monitor is now a separate process that will not crash and starts up
before any of your code.

- The monitor will not restart the process after a crash until a file is
saved.

- The monitor works on windows.

- You can now trigger a reload manually from a pyramid view or any other
code via ``hupper.get_reloader().trigger_reload()``. Kind of neat.

- You can trigger a reload by issuing a ``SIGHUP`` to the monitor process.

See https://github.com/Pylons/pyramid/pull/2805

Bug Fixes
---------

Expand Down

0 comments on commit df52b65

Please sign in to comment.