Skip to content

Commit 6c31da5

Browse files
authored
Enable Kestrel config reload in ConfigureWebHostDefaults (#22528)
1 parent e929dab commit 6c31da5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DefaultBuilder/src/WebHost.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ internal static void ConfigureWebDefaults(IWebHostBuilder builder)
217217
});
218218
builder.UseKestrel((builderContext, options) =>
219219
{
220-
options.Configure(builderContext.Configuration.GetSection("Kestrel"));
220+
options.Configure(builderContext.Configuration.GetSection("Kestrel"), reloadOnChange: true);
221221
})
222222
.ConfigureServices((hostingContext, services) =>
223223
{

0 commit comments

Comments
 (0)