Reputation: 14681
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
Upvotes: 3
Views: 1465
Reputation: 1184
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
Upvotes: 8