Class DotNetWatch
- Namespace
- DotNetDo
- Assembly
- DotNetDo.Core.dll
Watches project files and rebuilds, restarts, or hot-reloads the application after changes.
public sealed record DotNetWatch : ExecToolCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<DotNetWatch>Inheritance
Implements
Constructors
DotNetWatch()
Creates a command with output volume derived from the current logging level.
public DotNetWatch()Properties
Architecture
Shorthand target architecture combined with the default runtime identifier.
public string? Architecture { get; init; }Property Value
ArtifactsPath
Places outputs for all projects beneath this artifacts root, separated by project.
public string? ArtifactsPath { get; init; }Property Value
CommandParts
Gets every canonically ordered rendered command fragment.
protected override IReadOnlyList<string?> CommandParts { get; }Property Value
Configuration
Selects the named build configuration.
public string? Configuration { get; init; }Property Value
DisableBuildServers
Prevents reuse of persistent build servers during this invocation.
public bool DisableBuildServers { get; init; }Property Value
Framework
Selects one target framework declared by the project.
public string? Framework { get; init; }Property Value
Interactive
Allows authentication and other operations to prompt for input.
public bool Interactive { get; init; }Property Value
List
Lists watched files without starting the application.
public bool List { get; init; }Property Value
NoHotReload
Restarts the application for changes instead of applying Hot Reload edits.
public bool NoHotReload { get; init; }Property Value
NonInteractive
Prevents the watcher from waiting for or requesting terminal input.
public bool NonInteractive { get; init; }Property Value
NoRestore
Skips implicit restore; assets must already be current.
public bool NoRestore { get; init; }Property Value
OperatingSystem
Shorthand target operating system combined with the default runtime identifier.
public string? OperatingSystem { get; init; }Property Value
Quiet
Suppresses nonessential command output.
public bool Quiet { get; init; }Property Value
Runtime
Targets the specified runtime identifier, such as win-x64.
public string? Runtime { get; init; }Property Value
SelfContained
Publishes and runs a self-contained application with the .NET runtime included.
public bool? SelfContained { get; init; }Property Value
- bool?
Verbose
Writes diagnostic detail beyond normal command output.
public bool Verbose { get; init; }Property Value
Verbosity
Controls MSBuild output detail for watched builds.
public string? Verbosity { get; init; }