Skip to content

Conversation

@stormslowly
Copy link
Collaborator

@stormslowly stormslowly commented Sep 5, 2025

add a new config reloadOnRuntimeErrors

  • reloadOnRuntimeErrors is disabled by default; while disable, it works the same as before.
  • reloadOnRuntimeErrors is enabled, when there an unrecoverable runtime errors happen, the plugin will try to recover by doing a reload.

Currently, we treat factory undefined as an unrecoverable runtime error only.

Copy link
Member

@chenjiahan chenjiahan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update the README file to introduce the new option

Copy link
Member

@chenjiahan chenjiahan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@chenjiahan chenjiahan merged commit 29b2b9d into main Sep 5, 2025
4 checks passed
@chenjiahan chenjiahan deleted the feat/reload_when_unrecoverable_error branch September 5, 2025 13:28
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.

3 participants