Skip MSBuild on run-aspire.cmd when binaries are still newer than sources.
dotnet run always evaluates the Aspire graph. A second launch after Ctrl+C should not wait on that. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -32,7 +32,8 @@ dotnet run --project src/HSchool.AppHost
|
||||
|
||||
On Windows `run-aspire.cmd` does the same and can be double-clicked; it checks that the .NET SDK
|
||||
and Node are on PATH first and passes any arguments through
|
||||
(`run-aspire.cmd --launch-profile http`).
|
||||
(`run-aspire.cmd --launch-profile http`). A second launch with no C# changes skips MSBuild;
|
||||
`run-aspire.cmd --rebuild` forces a build.
|
||||
|
||||
The Aspire dashboard opens with two resources: `server` (ASP.NET Core) and `client` (Vite dev
|
||||
server). Aspire assigns the client a random port on every run, so take its URL from the dashboard
|
||||
|
||||
Reference in New Issue
Block a user