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

reload dependent modules #875

Merged
merged 30 commits into from
Apr 30, 2024
Merged

reload dependent modules #875

merged 30 commits into from
Apr 30, 2024

Conversation

pmcelhaney
Copy link
Owner

@pmcelhaney pmcelhaney commented Apr 29, 2024

This PR includes a lot of refactoring in module-loader.ts to remove duplication. My goal was to make sure hot reload works even if the file that changed is imported by another file. The path I was headed down didn't work but the refactoring is still worth keeping.

Copy link

changeset-bot bot commented Apr 29, 2024

🦋 Changeset detected

Latest commit: 7af42a5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
counterfact Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coveralls
Copy link
Collaborator

coveralls commented Apr 30, 2024

Pull Request Test Coverage Report for Build 8898493426

Details

  • 97 of 98 (98.98%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.8%) to 87.514%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/server/module-loader.ts 29 30 96.67%
Totals Coverage Status
Change from base Build 8894731919: 0.8%
Covered Lines: 3007
Relevant Lines: 3477

💛 - Coveralls

@pmcelhaney pmcelhaney marked this pull request as ready for review April 30, 2024 16:39
@pmcelhaney pmcelhaney merged commit 62abc65 into main Apr 30, 2024
8 checks passed
@pmcelhaney pmcelhaney deleted the reload-dependent-modules branch April 30, 2024 16:46
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.

2 participants