Skip to content

Engine → Scripting

hot_reload.h

Hot reload driver. Requests (editor build success, the script.reload command, or the controller's own watch on the output assembly) are debounced and executed by tick() at the frame boundary, before the first script phase.

Classes

File Description
hot_reload_controller

Enumerations

reload_state

enum class reload_state : u8 {
    IDLE,
    PENDING,        // requested, waiting for the debounce window
    RELOADING       // reload_game_assembly in progress (visible only from inside on_reloaded)
};

Functions

Public

to_string

[[nodiscard]] CONJURE_API std::string_view to_string(
    reload_state state) noexcept;

The upper-case name of a state ("PENDING").