Fork me on GitHub
#babashka
<
2022-11-02
>
rmxm23:11:35

I am observing some odd behaviour with https://github.com/babashka/pod-babashka-filewatcher Getting last event on the file as {:type :remove} however it seems the file exists after all. Wondering if some oddities have presented around fw-watch. Otherwise gonna dig deeper with inotify.

Bob B01:11:07

is there a repro case or anything?

borkdude10:11:11

You could also try fswatcher which is written in go, both based on inotify I think

rmxm11:11:15

@U013JFLRFS8 yes there is, but its fairly complex 🙂 I might be able to obtain "log-like" stuff from inotify, but since @U04V15CAJ suggested alternative, if the alternative works I will likely just switch

rmxm20:11:55

I messed up 🙂 So I was using the go based one. Funnily I am wondering now how to test out the rust pod without load-pod but using bb.edn dep file.

borkdude20:11:51

you can do that with :pods {org/pod {:version ...}}

rmxm20:11:32

oh, ok 🙂 was missing this on readme: https://github.com/babashka/pod-babashka-filewatcher thanks, version 0.0.1 as i see from tags

borkdude20:11:08

feel free to make some PRs, it's a lot of work to maintain all these docs ;)

rmxm21:11:07

🙂 there was no hint of complaint in my message, just an observation 🙂 anyways for slack search, the rust pod works ok, if anybody has problems with weird :remove events in go pod, now you know to pick rust