engine/tools/README.md
This crate contains various utility tools and binaries for the BAML engine. Each tool is implemented as a separate binary target within this single crate.
language-server-hot-reloadA hot-reload utility for the BAML CLI that watches for binary changes and automatically restarts the process. This tool is particularly useful during development when you want to automatically restart the language server or other BAML CLI commands when the binary is rebuilt.
Features:
Usage:
cargo run --bin language-server-hot-reload -- [BAML_CLI_ARGS...]
To add a new tool to this crate:
src/bin/ with your tool's name[[bin]] entry in Cargo.tomltools/
├── Cargo.toml # Crate configuration with binary targets
├── README.md # This file
└── src/
├── lib.rs # Common utilities (if needed)
└── bin/
└── language-server-hot-reload.rs # Hot-reload binary