logoalt Hacker News

Retr0idyesterday at 8:58 PM2 repliesview on HN

I believe you are mistaken. If you are referring to the comment from ArielTM, that's an LLM bot regurgitating your readme.


Replies

russellthehippoyesterday at 10:30 PM

Apologies for not being specific.

The specific thing I'm talking about is this: write events don't fire until the file handle is closed. [1] I didn't validate this myself btw, but my original design was certainly trying to use notify events rather than stat polling. My research (heavily AI assisted of course) led me away from that path as platforms differ in behavior and I wanted to avoid that.

[1] https://github.com/notify-rs/notify/issues/240

russellthehippotoday at 3:55 AM

If this has been fixed somewhere or there is a better alternative I'd love to use that over polling. Current plan is to move to polling data version for speed + occasional stat for safety. Getting rid of polling was my original goal but i compromised with syscalls.