Adding an enum requires restarting the editor

Godot Version

4.2 and above


I have a global Enums script, I create a new enum there, for example, Bonus
after that, if I add new values, the editor does not see them (swears by an error), but the game starts and works fine
the error disappears if you restart the editor

There is an issue open: