-
Notifications
You must be signed in to change notification settings - Fork 887
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pserve --reload with --daemon #912
Comments
It is not supposed to work AFAIK. |
https://github.com/mmerickel/pyramid/compare/fix.pserve-monitor-daemon Contains a fix adding support for the full blown combination of |
Would this also solve the problem if the reload fails due to a Python exception? Right now I have |
This does allow for that. Although it attempts to restart with no delay, so we'd probably want to add a throttle to the |
At least in my case, I have no need for it to continue serving the old version, but having it wait till a file has changed after failure would probably be best. |
Slightly related (getting daemon functionality to be slightly more managable) |
From what I see --reload does not work with --daemon in Pyramid 1.4.5 |
My $.02: I'd rather get rid of That said, if @mmerickel wants to merge the patch, I'd be fine with it. |
I'm a big fan of removing Side note: my fix is something I would not consider production ready due to the infinite loop caused by saving a file with broken code while |
I'd be all for removing |
I'm not sure if this is supposed to work, but tizoc in #pyramid claimed it may be a problem. If this is supposed to work we should verify that it does. If it is not supposed to work (which I think would be fine) we should add an error message when trying to execute
pserve
with both options enabled.The text was updated successfully, but these errors were encountered: