2 writes to WatchEnabled
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
163
WatchEnabled
= bool.TryParse(_innerBuilder.Configuration["AppHost:Run:WatchEnabled"], out var watchEnabled) && watchEnabled
Aspire.Hosting.Tests (1)
OperationModesTests.cs (1)
229
RunConfiguration = new RunConfiguration {
WatchEnabled
= true }
7 references to WatchEnabled
Aspire.Hosting.Tests (7)
OperationModesTests.cs (7)
153
Assert.False(builder.ExecutionContext.RunConfiguration.
WatchEnabled
);
166
Assert.True(builder.ExecutionContext.RunConfiguration.
WatchEnabled
);
178
Assert.True(builder.ExecutionContext.RunConfiguration.
WatchEnabled
);
191
Assert.False(builder.ExecutionContext.RunConfiguration.
WatchEnabled
);
205
Assert.False(builder.ExecutionContext.RunConfiguration.
WatchEnabled
);
218
Assert.False(builder.ExecutionContext.RunConfiguration.
WatchEnabled
);
235
Assert.False(context.RunConfiguration.
WatchEnabled
);