Log watched dirs in status console

This commit is contained in:
Jonathan Kelley 2024-03-14 09:20:51 -07:00
parent bb8b4dc2fb
commit efb21b24ca
No known key found for this signature in database
GPG key ID: 1FBB50F7EB0A08BE

View file

@ -102,6 +102,23 @@ pub fn print_console_info(
println!();
println!(" > Hot Reload Mode: {}", hot_reload.cyan());
println!(
" > Watching: [ {} ]",
config
.dioxus_config
.web
.watcher
.watch_path
.iter()
.cloned()
.chain(Some(config.dioxus_config.application.asset_dir.clone()))
.map(|f| f.display().to_string())
.collect::<Vec<String>>()
.join(", ")
.cyan()
);
if !proxies.is_empty() {
println!(" > Proxies :");
for proxy in proxies {