wz1000 / HieDb

Generates a references DB from .hie files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Idea: a command for constantly re-index by watching hiefile

hw202207 opened this issue · comments

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
commented

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.