arbor-watcher 2.0.0

File watching and incremental indexing for Arbor
Documentation

Overview

arbor-watcher provides the file system watching and incremental indexing layer for Arbor.

Features

  • Cross-platform: Uses notify for Windows, macOS, and Linux
  • Debounced Events: Prevents rapid re-indexing (100ms threshold)
  • Gitignore Aware: Respects .gitignore patterns via ignore crate
  • Incremental: Only re-parses changed files

How It Works

File Change → notify → Debouncer → Index Queue → arbor-core → arbor-graph
                                       ↓
                              Only "dirty" nodes updated

Usage

This crate is used internally. For most use cases:

cargo install arbor-graph-cli
arbor setup
arbor watch  # Live re-indexing

Links