Skip to content
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

support pressing enter to trigger a reload after a crash #53

Merged
merged 1 commit into from
Jun 12, 2019

Conversation

mmerickel
Copy link
Member

@mmerickel mmerickel commented Jun 11, 2019

  • add a wait_main which is invoked in a subprocess after the main worker dies
  • if ENTER is pressed during the wait_main then trigger a reload
  • this also makes the pausing logic more clear after the worker dies
  • skip the reload_interval after a reloader.trigger_reload() invocation from the worker

@mmerickel mmerickel merged commit 80e220a into Pylons:master Jun 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant