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

Add plugin events that persist across builds in mkdocs serve #2972

Merged
merged 2 commits into from Sep 14, 2022
Merged

Conversation

oprypin
Copy link
Contributor

@oprypin oprypin commented Sep 11, 2022

"One-time events" on_startup(command: str, dirty: bool), on_shutdown.

Their presence also shows that a plugin wants to persist across builds. Otherwise they will be re-created, to not change any existing behavior.

"One-time events" `on_startup(command)`, `on_shutdown`.

Their presence also shows that a plugin *wants* to persist across builds. Otherwise they will be re-created, to not change any existing behavior.
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.

Feature Request: on_cleanup event type Allow plugins to detect --dirtyreload
1 participant