Skip to main content

trigger_reload

Logs a message indicating that the specified file has changed and terminates the current process with exit code 3 to trigger a reload.

def trigger_reload(
filename: string
) - > null

Logs the name of the modified file and terminates the current process with exit code 3 to signal a reload.

Parameters

NameTypeDescription
filenamestringThe path or name of the file that triggered the reload event.

Returns

TypeDescription
nullThis function does not return as it terminates the process.