reload

fun reload()(source)

Reload application: build a new instance first, then dispose of the previous one.

If the new application cannot be created (for example, because the user code throws during module loading), the previous instance is preserved and the failure is rethrown.

Report a problem