Skip to content

Commit

Permalink
Set 'NoRestartServerOnBuild' by default. This means we can re-enable …
Browse files Browse the repository at this point in the history
…IISExpress when we think people are all on VS15.7Pre3 or later
  • Loading branch information
SteveSandersonMS committed Apr 12, 2018
1 parent c41af2c commit 9c60e78
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Microsoft.AspNetCore.Blazor.Build/targets/All.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
<!-- By default, enable auto rebuilds for debug builds. Note that the server will not enable it in production environments regardless. -->
<BlazorRebuildOnFileChange Condition="'$(Configuration)' == 'Debug'">true</BlazorRebuildOnFileChange>

<!-- When using IISExpress with a standalone app, there's no point restarting IISExpress after build. It slows things unnecessarily and breaks in-flight HTTP requests. -->
<NoRestartServerOnBuild>true</NoRestartServerOnBuild>

<!-- We can remove this after updating to newer Razor tooling, where it's enabled by default -->
<UseRazorBuildServer>true</UseRazorBuildServer>
</PropertyGroup>
Expand Down

0 comments on commit 9c60e78

Please sign in to comment.