Skip to content

Commit df41d18

Browse files
committed
tracking b2-2
1 parent 4e4975e commit df41d18

File tree

1 file changed

+1
-1
lines changed
  • articles/tutorials/advanced/2d_shaders/02_hot_reload

1 file changed

+1
-1
lines changed

articles/tutorials/advanced/2d_shaders/02_hot_reload/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ The next step is to only invoke the target when `.fx` files are edited instead o
100100

101101
Now when you re-run the command from earlier, it will only run the `IncludeContent` target when `.fx` files have been changed. All edits to `.cs` files are ignored. Try adding a blank line to the `grayscaleEffect.fx` file, and notice the `dotnet watch` process re-build the content.
102102

103-
However, if you would like to use `dotnet watch` for anything else in your workflow, then the configuration settings are too aggressive, because they will be applied _all_ invocations of `dotnet watch`. The `ItemGroup` can be optionally included when a certain condition is met. We will introduce a new MSBuild property called `OnlyWatchContentFiles`:
103+
However, if you ever use `dotnet watch` for anything else in your workflow, then the configuration settings are too aggressive, because they will be applied _all_ invocations of `dotnet watch`. We need to fix this before moving on, so that `dotnet watch` is not broken for future use cases. The `ItemGroup` can be optionally included when a certain condition is met. We will introduce a new MSBuild property called `OnlyWatchContentFiles`:
104104

105105
[!code-xml[](./snippets/snippet-2-09.xml?highlight=1)]
106106

0 commit comments

Comments
 (0)