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
| Name | Type | Description |
|---|---|---|
| filename | string | The path or name of the file that triggered the reload event. |
Returns
| Type | Description |
|---|---|
null | This function does not return as it terminates the process. |