# `reload` Make the editor pick up changes on disk. **Input** — `scope` (optional, default `filesystem`), `path` (for `scene`) Scripts are reloaded by the editor on its own, but a scene already open keeps the version it loaded, and some changes — a new `class_name`, an addon's own code — are only fully picked up by a restart. The three scopes: - **`filesystem`** rescans `res://` so files written outside the editor appear. Cheap and immediate. - **`scene`** reloads one open scene from disk; `path` is required and must exist. Forgetting to pass it is refused rather than reloading the current scene by accident. - **`editor`** restarts the whole editor. ## Restarting the editor A restart is deferred to the end of the turn, for the same reason [`resume_session`](resume_session.md) is: it tears down the dock, and the MCP server the dock hosts, in the middle of the call asking for it. The editor saves first, and the conversation is written out before it goes — it will be in the session list when the editor comes back. Because it ends the turn and closes the dock, ask for it only when something genuinely needs a restart, and tell the user first.