The Python Oracle

Pyramid: Preventing being forced to restart the pserve

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Digital Sunset Looping

--

Chapters
00:00 Question
00:37 Accepted answer (Score 8)
00:59 Thank you

--

Full question
https://stackoverflow.com/questions/1110...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #python27 #pyramid

#avk47



ACCEPTED ANSWER

Score 8


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