Fix compiler errors
This commit is contained in:
1 parent
b6c6dd6532
commit
ce628e1197
13 files changed
+101
-64
No files matched your search
+2
-1
@@ -10,6 +10,7 @@ use notify::{RecommendedWatcher, Watcher};
|
||||
use std::{path::PathBuf, sync::Arc};
|
||||
use tower_http::services::ServeDir;
|
||||
|
||||
use crate::Result;
|
||||
use crate::{builder, serve::Serve, CrateConfig};
|
||||
use tokio::sync::broadcast;
|
||||
|
||||
@@ -17,7 +18,7 @@ struct WsRelodState {
|
||||
update: broadcast::Sender<String>,
|
||||
}
|
||||
|
||||
pub async fn startup(config: CrateConfig) -> anyhow::Result<()> {
|
||||
pub async fn startup(config: CrateConfig) -> Result<()> {
|
||||
log::info!("🚀 Starting development server...");
|
||||
|
||||
let dist_path = config.out_dir.clone();
|
||||
|
||||
Reference in new issue
Block a user