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

dotnet watch run shouldn't disable the browser refresh logic inject… #15340

Merged
merged 1 commit into from
Jan 14, 2021

Conversation

pranavkm
Copy link
Contributor

…ion on Linux

Prior to this change, inability or failure to launch a browser would result in the browser-refresh feature from being disabled.
On Linux the feature is a bit flaky so we always disabled it. This change loosens up some of the restrictions.
We always attempt to launch a browser and use heuristics to determine if launching failed. Additionally,
the browser refresh feature is enabled regardless of how launching the browser fared.

Fixes #27081

…ion on Linux

Prior to this change, inability or failure to launch a browser would result in the browser-refresh feature from being disabled.
On Linux the feature is a bit flaky so we always disabled it. This change loosens up some of the restrictions.
We always attempt to launch a browser and use heuristics to determine if launching failed. Additionally,
the browser refresh feature is enabled regardless of how launching the browser fared.

Fixes #27081
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@pranavkm pranavkm added this to the 5.0.2xx milestone Jan 14, 2021
Copy link
Contributor

@jkotalik jkotalik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks to be the same change we made in aspnetcore, correct?

LGTM if so.

@pranavkm
Copy link
Contributor Author

Porting over dotnet/aspnetcore#28519 and enabling tests.

@pranavkm pranavkm merged commit 4515fa7 into release/5.0.2xx Jan 14, 2021
@mmitche mmitche deleted the prkrishn/port-browser-refresh-fix branch January 28, 2021 18:54
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.

None yet

3 participants