Is there a way to force the automatic update of the component tree when compiling is done?

I am adding components to an actor from the C++ code.

2

Every time I add a new component I must reparent the blueprint to be able to see the changes in the component tree.

Is there a way to force the automatic update of the component tree when compiling is done?

Thank you so much!!