panel.io.reload module#

panel.io.reload.file_is_in_folder_glob(filepath, folderpath_glob)[source]#

Test whether a file is in some folder with globbing support.

Parameters:
filepathstr

A file path.

folderpath_glob: str

A path to a folder that may include globbing.

panel.io.reload.record_modules(applications=None, handler=None)[source]#

Records modules which are currently imported.

async panel.io.reload.setup_autoreload_watcher(stop_event=None)[source]#

Installs a periodic callback which checks for changes in watched files and sys.modules.

panel.io.reload.watch(filename)[source]#

Add a file to the watch list.