mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 06:34:20 +00:00
Log watched dirs in status console
This commit is contained in:
parent
bb8b4dc2fb
commit
efb21b24ca
1 changed files with 17 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue