Proc

Results 229 comments of Proc

I'm not sure how worth the overhead is for that. If I understand this right we'd have to store a hashmap for all file descriptors which tells us whether its...

Yeah I also guess it's an issue with how WSL2 works and is not reporting any changes to the linux kernel for the virtualized file system.

From what I see, we can only use something like [this](https://github.com/snapcore/snapd/blob/9dee6cb3b70c2cbcbc6a89f9481863b7decf80f8/release/release.go#L110-L117) to detect a WSL2 environment and then switching to polling based file watching.. We can also only present this...

No, notify only uses the OS specific API to register for folder/file changes. While under linux everything is mounted inside / and thus a disk mount may be visible with...

Is this mac-OS only ? I do not have any mac machine to test things

Have you tried watching the whole directory with the logs ? File "writes" come in different ways, so it might be the file is actually re-created. > I cannot read...

I can currently reproduce this problem using C# and [FileSystemWatcher](https://docs.microsoft.com/en-us/dotnet/api/system.io.filesystemwatcher.created?view=net-5.0), running notify & the c# version side by side. Another fun thing is that the debug.log file itself has 0KB...

Repro https://www.youtube.com/watch?v=3x_48HhXoA4 Simply Pressing F2 to start a rename triggers an file size refresh in explorer and events for both programs.

What I do not know is how notepad++ is still able to realize file changes.

The C# version from microsoft themself isn't able to do so, as shown above. I guess notepad++ tries to poll or open the file, which activates probably a flush in...