Open hw202207 opened 1 year ago
Hi, you can get similar results with entr
, then you can use something like fd .hie <some-dir> | entr hiedb -D .hiedb
.
Yeah, I'm using similar to do auto reindex. just feel nice to have native support.
Plugging for myself but you can use https://github.com/josephsumabat/hiedb-plugin to handle this automatically for you via ghc
command
hiedb -D .hiedb watch .hiefiles
what it does
.hie
files under folder.hiefiles
, whenever a file Changed or New (rather Delete), will try to run index