Skip to content

Conversation

@tingstad
Copy link
Collaborator

@tingstad tingstad commented Jul 3, 2022

This PR combines #5 and #6 Read them first.

https://github.com/tingstad/hotload/runs/7168717234?check_suite_focus=true

tingstad added 5 commits July 3, 2022 13:39
Adds a new step, ReloadModules, which reloads all watched modules except for the init module.

This step needs to know which modules have changed, which is currently only available in the main loops variables (new_changed, last_changed), so I pass this information to the step if it's named "ReloadModules". Other alternatives could be some global state, or passing some general state to all the steps.
@tingstad tingstad changed the title reloadalltest Reload all test Jul 3, 2022
@tingstad tingstad changed the title Reload all test Test: Reload modules Jul 3, 2022
@tingstad tingstad marked this pull request as draft July 13, 2022 08:13
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