Pyramid: Preventing being forced to restart the pserve

pyramid, python, python-2.7

Solution

Well I think you can add the `--reload` flag when starting the webserver. This will watch for any changes on files and reload the server automatically. i.e `/pserve --reload develoment.ini`

Problem

Although I have set pyramid.reload_templates to true e.g. "pyramid.reload_templates = true", each time I modify a view, I have to kill the pserve process and restart it in order to see the changes. How can I get over this and just refresh the page to get the results? Thank you

Original source