Files
RoboMovel/simulacao/robo-movel-godot/addons/claude_godot/docs/tools/reload.md
T
mguinhosandClaude Opus 5.5 393019705c Projeto: app demo, servidor/firmware em software/, simulacao Godot, planta do bloco D, chapas MDF da base, renders e slides
- app/: app demo (Kivy/buildozer) da API do robo
- software/: servidor RoboMovel (SLAM, profundidade, navegacao) e firmware da base movel (movido de firmware/)
- simulacao/: projeto Godot do robo e script de lancamento servidor + simulacao
- modelos/: planta do 5o andar do bloco D, cena Blender do corredor e modelo real do robo
- partes/mdf/: chapas identificadas e nesting da base do robo (DXF/SVG/FCStd)
- projeto/render, relatorio/imagens, slides: renders finais e apresentacoes de progresso
- ferramentas/scripts: encaixe de chapas, planta do bloco D e render do corredor no Blender
- .gitignore: ignora backups do Blender/FreeCAD e .godot/

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 23:38:16 -03:00

1.1 KiB

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 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.