Skip to content

dotnet watch (--) --no-buld still builds #51746

@danroth27

Description

@danroth27

I tried both dotnet watch --no-build and dotnet watch -- --no-build but both seem to still build the project:

C:\BlazorApp> dotnet watch --no-build
dotnet watch 🔥 Hot reload enabled. For a list of supported edits, see https://aka.ms/dotnet/hot-reload.
dotnet watch 💡 Press Ctrl+R to restart.
dotnet watch 🔨 Building C:\BlazorApp\BlazorApp.csproj ...
dotnet watch 🔨 Build succeeded: C:\BlazorApp\BlazorApp.csproj

I believe the arguments after the -- should be passed through to dotnet run.

@tmat

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions