reload_file
Trigger Lua autorefresh for a file by updating its modification time, applying edits without requiring a full restart.
Instructions
Triggers GMod's Lua autorefresh for a file by bumping its mtime. Best-effort: it covers edits, while new files and autoruns still need a restart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes |