bouncepaw / mycorrhiza

🍄📑 Filesystem and git-based wiki engine for the independent web written in Go using Mycomarkup as its primary markup language.

Home Page:https://mycorrhiza.wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reindex hyphae automatically

bouncepaw opened this issue · comments

Two possible ways:

  1. Watch for changes in .git/objects or somewhere else. Whenever a new commit happens, something changes in this directory, so we can know about it and reindex.
  2. Make a git hook. That means making a script in .git/hooks.