Skip to content

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.
@oprypin oprypin merged commit 8c3ea5f into master Sep 14, 2022
@oprypin oprypin deleted the onshut branch September 17, 2022 16:46
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

2 participants