mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-02-17 14:18:27 +00:00
feat: commit code
This commit is contained in:
parent
9f20337e5e
commit
59b8a84530
1 changed files with 3 additions and 2 deletions
|
@ -289,8 +289,6 @@ pub async fn startup_default(
|
|||
|
||||
log::info!("🚀 Starting development server...");
|
||||
|
||||
plugin_manager.on_serve_start(&config)?;
|
||||
|
||||
let dist_path = config.out_dir.clone();
|
||||
|
||||
let (reload_tx, _) = broadcast::channel(100);
|
||||
|
@ -316,6 +314,7 @@ pub async fn startup_default(
|
|||
.unwrap_or_else(|| vec![PathBuf::from("src")]);
|
||||
|
||||
let watcher_config = config.clone();
|
||||
let wacher_plugin_manager = plugin_manager;
|
||||
let mut watcher = notify::recommended_watcher(move |info: notify::Result<notify::Event>| {
|
||||
let config = watcher_config.clone();
|
||||
if let Ok(e) = info {
|
||||
|
@ -362,6 +361,8 @@ pub async fn startup_default(
|
|||
},
|
||||
);
|
||||
|
||||
plugin_manager.on_serve_start(&config)?;
|
||||
|
||||
let file_service_config = config.clone();
|
||||
let file_service = ServiceBuilder::new()
|
||||
.and_then(
|
||||
|
|
Loading…
Add table
Reference in a new issue