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

ProjectHotReloadSession updates #9586

Merged
merged 10 commits into from
Nov 14, 2024

Conversation

drewnoakes
Copy link
Member

@drewnoakes drewnoakes commented Nov 12, 2024

While reviewing #9555 I spent some time to familiarize myself with Hot Reload.

Here are a few clean ups that I found in ProjectHotReloadSession. The major ones are:

  • Address TODO now that newer API is available, simplifying code a bit.
  • Simplify code that logs messages. We log quite a bit in this class, so simplifying the call sites makes it easier to see the actual code.
  • Fix remaining diagnostics in the file to keep the gutter clear in VS.

@LittleLittleCloud, I'm pretty sure this doesn't conflict with your PR, but I will hold off on merging until after your PR goes in.

Microsoft Reviewers: Open in CodeFlow

Reduces duplication, making call sites easier to read.
`CreateManagedDeltaApplier` returns a non-null value, so we don't have to perform a further check here.
@LittleLittleCloud LittleLittleCloud enabled auto-merge (squash) November 14, 2024 19:22
@LittleLittleCloud LittleLittleCloud merged commit ddd2122 into dotnet:main Nov 14, 2024
5 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the 17.12 milestone Nov 14, 2024
@drewnoakes drewnoakes deleted the hot-reload-bits branch November 14, 2024 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants