Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
"""Watch src/ for file changes and auto-run codebase_tools/merge.py."""
import subprocess
import sys
import time
from pathlib import Path
ROOT = Path(__file__).resolve().parent.parent
SRC = ROOT / "src"