def
refresh
cauldron.refresh()

Checks the specified module or modules for changes and reloads them if they have been changed since the module was first imported or last refreshed.

Arguments
Required
Optional
modules

str, module

One or more module objects that should be refreshed if they the currently loaded versions are out of date. The package name for modules can also be used.

recursive

bool

When true, any imported sub-modules of this module will also be refreshed if they have been updated.

force

bool

When true, all modules will be refreshed even if it doesn't appear that they have been updated.

Returns

bool

True or False depending on whether any modules were refreshed by this call.