Skip to content

Commit

Permalink
Fix dotnet watch (#2031)
Browse files Browse the repository at this point in the history
- Flip the condition
  • Loading branch information
davidfowl committed Feb 1, 2024
1 parent a181d33 commit 62f941d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Aspire.Hosting/Dcp/ApplicationExecutor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ private void PrepareProjectExecutables()
else
{
exeSpec.ExecutionType = ExecutionType.Process;
if (environmentVariables.GetBool("DOTNET_WATCH") is true)
if (environmentVariables.GetBool("DOTNET_WATCH") is not true)
{
exeSpec.Args = [
"run",
Expand Down

0 comments on commit 62f941d

Please sign in to comment.