Skip to content

Feat: development hot reload widget with shortcuts - #1245

Open
tetrisface wants to merge 1 commit into
beyond-all-reason:masterfrom
tetrisface:dev-hot-reload-with-shortcuts
Open

Feat: development hot reload widget with shortcuts #1245
tetrisface wants to merge 1 commit into
beyond-all-reason:masterfrom
tetrisface:dev-hot-reload-with-shortcuts

Conversation

@tetrisface

@tetrisface tetrisface commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

This adds a setting that will auto hot reload widgets that you are developing.

This probably doesn't work flawlessly for many widgets and there probably is a more proper reliable implementation. But I think it's worth to get the work started and this is quite small and non-invasive.
Something to think about at least.

image

Ctrl+T will toggle it and Ctrl+R will run it on demand.

Tested with the modoptions panel sort widget development and it worked good. It has a lot of custom code to make it force rerender so it's not a super good example.
I also tested the guard so it doesn't conflict with in-game keybinds.

AI Disclosure

99% done with Claude Fable

@tetrisface tetrisface changed the title Development hot reload widget with shortcuts Feat: development hot reload widget with shortcuts Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant