sdk icon indicating copy to clipboard operation
sdk copied to clipboard

dotnet watch behavior on DevDrives / ReFS

Open Schlurcher opened this issue 1 year ago • 1 comments

Describe the bug

On DevDrives / ReFS dotnet watch picks up one file change multiple times, probably due to ReFS file handling.

Image

For comparison, here's the output of the same project when not run from a DevDrive:

Image

Functionality doesn't seem to be impacted, but this behavior threw me off and should either be documented or changed in a ways to handle file changes more gracefully on ReFS.

To Reproduce

dotnet new webapp on a DevDrive dotnet watch Change a file, watch console

Further technical details

.NET SDK: Version: 9.0.102 Commit: cb83cd4923 Workload version: 9.0.100-manifests.4a54b1a6 MSBuild version: 17.12.18+ed8c6aec5

Laufzeitumgebung: OS Name: Windows OS Version: 10.0.26100 OS Platform: Windows RID: win-x64 Base Path: C:\Program Files\dotnet\sdk\9.0.102\

Schlurcher avatar Feb 08 '25 12:02 Schlurcher

Could you please share full output of dotnet watch --verbose?

tmat avatar May 26 '25 15:05 tmat

Closing due to low priority since "Functionality doesn't seem to be impacted".

tmat avatar Jun 24 '25 20:06 tmat