Skip to content

Commit

Permalink
Enable Kestrel config reload in ConfigureWebHostDefaults (#22528)
Browse files Browse the repository at this point in the history
  • Loading branch information
halter73 authored Jun 11, 2020
1 parent e929dab commit 6c31da5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DefaultBuilder/src/WebHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ internal static void ConfigureWebDefaults(IWebHostBuilder builder)
});
builder.UseKestrel((builderContext, options) =>
{
options.Configure(builderContext.Configuration.GetSection("Kestrel"));
options.Configure(builderContext.Configuration.GetSection("Kestrel"), reloadOnChange: true);
})
.ConfigureServices((hostingContext, services) =>
{
Expand Down

0 comments on commit 6c31da5

Please sign in to comment.