-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Document How to Enable Hot Reloading Using dotnet run/watch #38036
Copy link
Copy link
Closed
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-commandlinetoolsIncludes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPIIncludes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPIfeature-hot-reloadThis issue is related to the Hot Reload feaatureThis issue is related to the Hot Reload feaature
Description
Metadata
Metadata
Assignees
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-commandlinetoolsIncludes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPIIncludes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPIfeature-hot-reloadThis issue is related to the Hot Reload feaatureThis issue is related to the Hot Reload feaature
Type
Fields
Give feedbackNo fields configured for issues without a type.
Is your feature request related to a problem? Please describe.
It is not clear how to enable hot reloading using
dotnet runordotnet watchfrom alaunchSettings.jsonfile. The .NET blog mention that we should add the"hotReloadProfile": "aspnetcore"setting like so:However, I also came across this PR which removes this need:
Then there is the question about how to enable the feature when using
dotnet watchin alaunchSettings.jsonfile:It would also be nice to know if this affects IIS Express or WSL2
Describe the solution you'd like
I'd like to know how to enable the feature for both
dotnet runanddotnet watchfrom alaunchSettings.jsonfile and have this documented somewhere.