Cookie file every minute
Opened this issue · 3 comments
nullromo commented
jamie-phlo commented
@nullromo did you ever figure out how to stop these being generated or pick a better folder for them to be in?
nullromo commented
Unfortunately the only solution I have right now is that I put this line in my .bashrc
:
rm -v /mnt/c/Users/me/AppData/Roaming/wsltty/.watchman-cookie-hostname-* | tee >(wc -l); rm -v /mnt/c/Users/me/Downloads/.watchman-cookie-hostname-* | tee >(wc -l)
It's really annoying and hacky, but at least it works kinda. Still have no idea what thing on my computer even uses watchman...
quark-zju commented
watchman debug-status
might show what are using watchman.
Those cookie files are generated on query by design and usually deleted by watchman automatically once it observes the cookie file creation event.
If you enable debug logs, then check the logs, it might show why the cookie files weren't deleted (like permission issues, or if there were an overflow of fsevents events).