Skip to main content

HotReload

12 tools in this family (folder Editor/Tools/HotReload/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
hot_reload_add_blacklistwritesAdd a glob pattern to the watcher blacklist. Blacklisted paths are NEVER hot-reloaded — useful for
hot_reload_add_whitelistwritesAdd a glob pattern to the watcher whitelist. If the whitelist is non-empty, ONLY paths that match
hot_reload_clear_historywritesClear the in-memory hot reload history and reset success/error/fallback counters to zero. Does
hot_reload_compile_fileread-onlyCompile a single .cs file via Roslyn and report diagnostics, WITHOUT applying any method swap.
hot_reload_configurewritesConfigure the hot reload engine. All fields are optional — pass only the ones you want to change.
hot_reload_disablewritesDisable Buril hot reload. Stops the file watcher; no further automatic reloads occur. Existing
hot_reload_enablewritesEnable Buril hot reload. Starts a FileSystemWatcher over Assets/**/*.cs, debounces burst saves,
hot_reload_export_setupread-onlyExport the current hot reload config and history to a JSON document. ReadOnly. If 'output_path'
hot_reload_forcewritesForce a hot reload of a specific file (or, if omitted, every file currently in the watcher's
hot_reload_open_windowwritesOpen the Buril HotReload Editor window. The window shows status, success/error counts, last
hot_reload_statusread-onlyQuery the current hot reload state. ReadOnly. Returns enabled flag, watcher status, lifetime
hot_reload_swap_methoddestructiveSwap the implementation of a method at runtime. Compile a complete C# replacement source for the