Skip to content

Require hot reload to be explicitly enabled#1994

Open
dsnopek wants to merge 1 commit into
godotengine:masterfrom
dsnopek:disable-reloadable-by-default
Open

Require hot reload to be explicitly enabled#1994
dsnopek wants to merge 1 commit into
godotengine:masterfrom
dsnopek:disable-reloadable-by-default

Conversation

@dsnopek
Copy link
Copy Markdown
Collaborator

@dsnopek dsnopek commented May 30, 2026

Currently, hot reload is enabled by default on debug builds, however, I've since wished we didn't enable it by default and required developers to opt-in

This was discussed on #1876, where we could have done something better if hot reload was opt-in, but I didn't want the potentially disruptive change

However, now that we're about to release v10, maybe now is the time to do this? It will no longer be as disruptive, because it would be associated with a versioned release that can be documented as an upgrading note

Per #1876, this also rolls back the changes from #1878 and includes the changes from #1877, which I think is the better solution

AI disclosure

I used Claude code for the CMake changes, because I really don't know CMake very well. However, I did test the changes with various options and they seem to work as intended! Human review would be much appreciated (cc @enetheru)

@dsnopek dsnopek added this to the 10.x milestone May 30, 2026
@dsnopek dsnopek requested a review from a team as a code owner May 30, 2026 12:40
@dsnopek dsnopek added enhancement This is an enhancement on the current functionality cmake topic:buildsystem Related to the buildsystem or CI setup labels May 30, 2026
Comment thread cmake/godotcpp.cmake Outdated
@dsnopek dsnopek force-pushed the disable-reloadable-by-default branch from 6072655 to efdcca7 Compare May 30, 2026 13:23
Copy link
Copy Markdown
Collaborator

@enetheru enetheru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dsnopek dsnopek force-pushed the disable-reloadable-by-default branch from efdcca7 to 6a4a323 Compare May 30, 2026 13:28
Copy link
Copy Markdown
Contributor

@paddy-exe paddy-exe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cmake enhancement This is an enhancement on the current functionality topic:buildsystem Related to the buildsystem or CI setup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants