Skip to content

Commit fa40263

Browse files
committed
Updates docs
1 parent 989ecd1 commit fa40263

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Tools/dotnet-watch/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ Some configuration options can be passed to `dotnet watch` through environment v
3030
| ---------------------------------------------- | -------------------------------------------------------- |
3131
| DOTNET_USE_POLLING_FILE_WATCHER | If set to "1" or "true", `dotnet watch` will use a polling file watcher instead of CoreFx's `FileSystemWatcher`. Used when watching files on network shares or Docker mounted volumes. |
3232
| DOTNET_WATCH_SUPPRESS_MSBUILD_INCREMENTALISM | By default, `dotnet watch` optimizes the build by avoiding certain operations such as running restore or re-evaluating the set of watched files on every file change. If set to "1" or "true", these optimizations are disabled. |
33-
33+
| DOTNET_WATCH_SUPPRESS_LAUNCH_BROWSER | `dotnet watch run` will attempt to launch browsers for web apps with `launchBrowser` configured in `launchSettings.json`. If set to "1" or "true", this behavior is suppressed. |
34+
| DOTNET_WATCH_SUPPRESS_MSBUILD_INCREMENTALISM | `dotnet watch run` will attempt to refresh browsers when it detects file changes. If set to "1" or "true", this behavior is suppressed. This behavior is also suppressed if DOTNET_WATCH_SUPPRESS_LAUNCH_BROWSER is set. |
3435
### MSBuild
3536

3637
dotnet-watch can be configured from the MSBuild project file being watched.

src/Tools/dotnet-watch/src/dotnet-watch.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<ItemGroup>
5858
<_RuntimeFramework Include="@(RuntimeFramework)" />
5959
<RuntimeFramework Remove="@(RuntimeFramework)" />
60-
<RuntimeFramework Include="Microsoft.AspNetCore.App" FrameworkName="Microsoft.AspNetCore.App" Version="5.0.0-preview.7.20329.4" />
60+
<RuntimeFramework Include="Microsoft.AspNetCore.App" FrameworkName="Microsoft.AspNetCore.App" Version="5.0.0-preview" />
6161
</ItemGroup>
6262
</Target>
6363

0 commit comments

Comments
 (0)