Enable Kestrel config reload in ConfigureWebHostDefaults (#22528)

This commit is contained in:
Stephen Halter 2020-06-10 17:47:17 -07:00 committed by GitHub
parent e929dab496
commit 6c31da5b1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ namespace Microsoft.AspNetCore
});
builder.UseKestrel((builderContext, options) =>
{
options.Configure(builderContext.Configuration.GetSection("Kestrel"));
options.Configure(builderContext.Configuration.GetSection("Kestrel"), reloadOnChange: true);
})
.ConfigureServices((hostingContext, services) =>
{