2 writes to WatchEnabled
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
164WatchEnabled = bool.TryParse(_innerBuilder.Configuration["AppHost:Run:WatchEnabled"], out var watchEnabled) && watchEnabled
Aspire.Hosting.Tests (1)
OperationModesTests.cs (1)
230RunConfiguration = new RunConfiguration { WatchEnabled = true }
7 references to WatchEnabled
Aspire.Hosting.Tests (7)
OperationModesTests.cs (7)
154Assert.False(builder.ExecutionContext.RunConfiguration.WatchEnabled); 167Assert.True(builder.ExecutionContext.RunConfiguration.WatchEnabled); 179Assert.True(builder.ExecutionContext.RunConfiguration.WatchEnabled); 192Assert.False(builder.ExecutionContext.RunConfiguration.WatchEnabled); 206Assert.False(builder.ExecutionContext.RunConfiguration.WatchEnabled); 219Assert.False(builder.ExecutionContext.RunConfiguration.WatchEnabled); 236Assert.False(context.RunConfiguration.WatchEnabled);