Skip to content

Commit e3f398c

Browse files
committed
Add address output to mdbook serve
1 parent 6bc088d commit e3f398c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bin/mdbook.rs

+2
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,8 @@ fn serve(args: &ArgMatches) -> Result<(), Box<Error>> {
226226
ws_server.listen(&*ws_address).unwrap();
227227
});
228228

229+
println!("\nServing on {}", address);
230+
229231
trigger_on_change(&mut book, move |event, book| {
230232
if let Some(path) = event.path {
231233
println!("File changed: {:?}\nBuilding book...\n", path);

0 commit comments

Comments
 (0)