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

Disable hot reload and interactive mode with dotnet watch #515

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

davidfowl
Copy link
Member

  • When launching dotnet watch on an aspire project, we invoke watch on each of the projects. There's no way to interactively restart a single project on change so its not possible to force a restart if a hot reload change is ineffective (when changing main).

In the future, we will need to revamp this entire experience so that it works more like the IDE experience (dcp talks to dotnet watch and it launches multiple projects and notifies DCP of those changes).

- When launching dotnet watch on an aspire project, we invoke watch on each of the projects. There's no way to interactively restart a single project on change so its not possible to force a restart if a hot reload change is ineffective (when changing main).

In the future, we will need to revamp this entire experience so that it works more like the IDE experience (dcp talks to dotnet watch and it launches multiple projects and notifies DCP of those changes).
@davidfowl davidfowl changed the title Disable hot reload and interactive mode with dotnet watch - When launching dotnet watch on an aspire project, we invoke watch on each of the projects. There's no way to interactively restart a single project on change so its not possible to force a restart if a hot reload change is ineffective (when changing main). Disable hot reload and interactive mode with dotnet watch Oct 26, 2023
@davidfowl
Copy link
Member Author

@karolz-ms Making you aware of this change because we need to do with dcp what we did with VS where an external entity owns the launching of executables.

@davidfowl davidfowl merged commit 9af8a7c into main Oct 26, 2023
@davidfowl davidfowl deleted the davidfowl/watch-tweaks branch October 26, 2023 03:02
@karolz-ms
Copy link
Member

@davidfowl roger

@github-actions github-actions bot locked and limited conversation to collaborators Apr 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants