Radar · Rust · Archive · Week 45 · Nov 3 – 9, 2025
Add mdbook‑extra‑watch‑dirs
Nice to knowtooling
- What changed
- A new feature for
mdbook servethat automatically reloads when files change, though it does not detect newly added files. - Production impact
- The source does not say.
- Try it
- Run
mdbook servein a book directory and modify a file to see the page refresh. - Source
- github.com/rust-lang/rfcs/pull/3877
Understand it, then run it
Run it now
// This program is unrelated to the mdbook change; it simply demonstrates
// that the Rust compiler can run a basic program. The mdbook feature is
// a tool‑chain improvement, not a Rust language feature.
fn main() {
println!("mdbook serve now reloads on file changes (but not new files).");
}
What it printed when we ran it on Rust 1.98.1 (edition 2024)
mdbook serve now reloads on file changes (but not new files).
Run sends this program (for Solidity, the contract and its tests) to our own sandbox, where it is compiled and run once, with no network, and what it printed or the test report comes back here. Nothing is kept. Runs are counted per visitor for the day so everyone gets a turn; the details are on the legal page.
Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed