Unverified Commit 83aa984d authored by Henry Darnell's avatar Henry Darnell Committed by GitHub
Browse files

Add dotnet watch and dotnet watch run (#8612)

parent f362b69d
...@@ -11,10 +11,12 @@ plugins=(... dotnet) ...@@ -11,10 +11,12 @@ plugins=(... dotnet)
## Aliases ## Aliases
| Alias | Command | Description | | Alias | Command | Description |
|-------|--------------|-------------------------------------------------------------------| |-------|------------------|-------------------------------------------------------------------|
| dn | dotnet new | Create a new .NET project or file. | | dn | dotnet new | Create a new .NET project or file. |
| dr | dotnet run | Build and run a .NET project output. | | dr | dotnet run | Build and run a .NET project output. |
| dt | dotnet test | Run unit tests using the test runner specified in a .NET project. | | dt | dotnet test | Run unit tests using the test runner specified in a .NET project. |
| dw | dotnet watch | Watch for source file changes and restart the dotnet command. |
| dwr | dotnet watch run | Watch for source file changes and restart the `run` command. |
| ds | dotnet sln | Modify Visual Studio solution files. | | ds | dotnet sln | Modify Visual Studio solution files. |
| da | dotnet add | Add a package or reference to a .NET project. | | da | dotnet add | Add a package or reference to a .NET project. |
| dp | dotnet pack | Create a NuGet package. | | dp | dotnet pack | Create a NuGet package. |
......
...@@ -111,6 +111,8 @@ compdef _dotnet dotnet ...@@ -111,6 +111,8 @@ compdef _dotnet dotnet
# --------------------------------------------------------------------- # # --------------------------------------------------------------------- #
alias dr='dotnet run' alias dr='dotnet run'
alias dt='dotnet test' alias dt='dotnet test'
alias dw='dotnet watch'
alias dwr='dotnet watch run'
alias ds='dotnet sln' alias ds='dotnet sln'
alias da='dotnet add' alias da='dotnet add'
alias dp='dotnet pack' alias dp='dotnet pack'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment