Idea: a command for constantly re-index by watching hiefile
hw202207 opened this issue · comments
Haisheng commented
command
hiedb -D .hiedb watch .hiefiles
what it does
- watch all
.hie
files under folder.hiefiles
, whenever a file Changed or New (rather Delete), will try to run index - also might be nicer to run index on individual file
fendor commented
Hi, you can get similar results with entr
, then you can use something like fd .hie <some-dir> | entr hiedb -D .hiedb
.
Haisheng commented
Yeah, I'm using similar to do auto reindex. just feel nice to have native support.