Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hot reload for UI, controller and state change won't work #455

Closed
5 of 14 tasks
bourdaisj opened this issue Feb 21, 2024 · 2 comments
Closed
5 of 14 tasks

hot reload for UI, controller and state change won't work #455

bourdaisj opened this issue Feb 21, 2024 · 2 comments

Comments

@bourdaisj
Copy link
Contributor

bourdaisj commented Feb 21, 2024

Describe the bug
I can't get the hot reload feature to work for controller function, UI and state change. However, the trame_server.utils.hot_reload.hot_reload decorator works fine.

EDIT: 17_dev_reload example works fine, with a few updates, see here: #456
EDIT 2: same behavior as described above with validation/core/17_hot_reload.py

To Reproduce

Steps to reproduce the behavior:

  1. Run the examples/validation/core_features/hot_reload.py examples
  2. try to change stuff in controller function or state change listener
  3. if does not work
  4. try to change stuff in the UI definitions
  5. it does not work

Expected behavior

The reload should happen correctly at runtime.

Platform:

Device:

  • Desktop
  • Mobile

OS:
tested on both mac M1 and linux

  • Windows
  • MacOS
  • Linux
  • Android
  • iOS

Browsers Affected:

  • Chrome
  • Firefox
  • Microsoft Edge
  • Safari
  • Opera
  • Brave
  • IE 11
@bourdaisj
Copy link
Contributor Author

@psavery

@jourdain
Copy link
Collaborator

https://github.com/Kitware/trame-server/releases/tag/v2.16.1

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

No branches or pull requests

2 participants