# RunConfiguration

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `struct`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Holds settings applicable to the AppHost run mode (when `Operation` is `Run`).

## Remarks

Integrations use it to vary how their resources are launched without changing the core hosting behavior.
In `Publish` mode every property holds its default value.

## Definition

```go
type RunConfiguration struct {
    WatchEnabled *bool `json:"WatchEnabled"`
}
```

## Fields

- `WatchEnabled`: `*bool` `optional` -- Indicates that resources should start in watch mode if able.
