Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ Codex users also need `multi_agent = true` under `[features]` in `~/.codex/confi
| `mcp` | MCP stdio server | `uv tool install "graphifyy[mcp]"` |
| `neo4j` | Neo4j push support | `uv tool install "graphifyy[neo4j]"` |
| `falkordb` | FalkorDB push support | `uv tool install "graphifyy[falkordb]"` |
| `watch` | `graphify watch` auto-rebuild on file changes | `uv tool install "graphifyy[watch]"` |
| `svg` | SVG graph export | `uv tool install "graphifyy[svg]"` |
| `leiden` | Leiden community detection (Python < 3.13 only) | `uv tool install "graphifyy[leiden]"` |
| `ollama` | Ollama local inference | `uv tool install "graphifyy[ollama]"` |
Expand Down Expand Up @@ -625,7 +626,7 @@ graphify-out/
/graphify ./raw --neo4j-push bolt://localhost:7687
/graphify ./raw --falkordb # generate cypher.txt for FalkorDB
/graphify ./raw --falkordb-push falkordb://localhost:6379
/graphify ./raw --watch # auto-sync as files change
/graphify ./raw --watch # auto-sync as files change (needs the [watch] extra)
/graphify ./raw --mcp # start MCP stdio server

/graphify add https://arxiv.org/abs/1706.03762
Expand Down Expand Up @@ -741,7 +742,7 @@ GRAPHIFY_TRIAGE_BACKEND=kimi graphify prs --triage # use a specific backend fo
graphify clone https://github.com/karpathy/nanoGPT
graphify merge-graphs a.json b.json --out merged.json
graphify --version # print installed version
graphify watch ./src
graphify watch ./src # needs the [watch] extra
graphify check-update ./src
graphify update ./src
graphify update ./src --no-cluster # skip reclustering, write raw AST graph only
Expand Down
2 changes: 1 addition & 1 deletion graphify/watch.py
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ def watch(watch_path: Path, debounce: float = 3.0) -> None:
from watchdog.observers.polling import PollingObserver
from watchdog.events import FileSystemEventHandler
except ImportError as e:
raise ImportError("watchdog not installed. Run: pip install watchdog") from e
raise ImportError('watchdog not installed. Run: uv tool install "graphifyy[watch]"') from e

last_trigger: float = 0.0
pending: bool = False
Expand Down
2 changes: 1 addition & 1 deletion tests/test_watch.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def mock_import(name, *args, **kwargs):
monkeypatch.setattr(builtins, "__import__", mock_import)

from graphify.watch import watch
with pytest.raises(ImportError, match="watchdog not installed"):
with pytest.raises(ImportError, match=r"watchdog not installed.*graphifyy\[watch\]"):
watch(tmp_path)


Expand Down