mirror of
https://github.com/rust-lang/mdBook
synced 2025-03-04 23:27:17 +00:00
Add address output to mdbook serve
This commit is contained in:
parent
6bc088db6e
commit
e3f398cff2
1 changed files with 2 additions and 0 deletions
|
@ -226,6 +226,8 @@ fn serve(args: &ArgMatches) -> Result<(), Box<Error>> {
|
|||
ws_server.listen(&*ws_address).unwrap();
|
||||
});
|
||||
|
||||
println!("\nServing on {}", address);
|
||||
|
||||
trigger_on_change(&mut book, move |event, book| {
|
||||
if let Some(path) = event.path {
|
||||
println!("File changed: {:?}\nBuilding book...\n", path);
|
||||
|
|
Loading…
Add table
Reference in a new issue