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

Ensure that autoreload records modules to watch before startup #7399

Merged
merged 5 commits into from
Oct 14, 2024

Conversation

philippjfr
Copy link
Member

@philippjfr philippjfr commented Oct 14, 2024

Fixes a regression that meant that the --autoreload/--dev options did not correctly record the modules that would have to be reloaded.

Fixes #7398, Fixes #7396

Copy link

codecov bot commented Oct 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.22%. Comparing base (323b2ab) to head (68e4e53).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7399      +/-   ##
==========================================
- Coverage   82.22%   82.22%   -0.01%     
==========================================
  Files         337      337              
  Lines       50514    50534      +20     
==========================================
+ Hits        41537    41552      +15     
- Misses       8977     8982       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

panel/command/serve.py Outdated Show resolved Hide resolved
panel/command/serve.py Outdated Show resolved Hide resolved
@philippjfr philippjfr enabled auto-merge (squash) October 14, 2024 14:42
@philippjfr philippjfr merged commit 78ccc7e into main Oct 14, 2024
18 checks passed
@philippjfr philippjfr deleted the autoreload_module_record branch October 14, 2024 15:01
ahuang11 pushed a commit that referenced this pull request Oct 18, 2024
* Ensure that autoreload records modules to watch before startup

* Apply suggestions from code review

* Apply suggestions from code review

* Add test

* Fix test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants