Function veloren_common_dynlib::hotreload

source ยท
pub(crate) fn hotreload(
    dyn_package: &str,
    loaded_lib: &Mutex<Option<LoadedLib>>,
)
Expand description

Hotreload the dynamic library

This will reload the dynamic library by first internally calling compile and then reloading the library.