on master help sign in
Copy static assets to out/ directory in serve mode
b6d3868iko
src/main.rs+1
@@ -1918,6 +1918,7 @@ fn main() {
1918 );
1918 );
1919 all_included.extend(included);
1919 all_included.extend(included);
1920 }
1920 }
1921+ copy_non_hl_files(target_path, Path::new(out_dir));
1921 let (tx, _) = tokio::sync::broadcast::channel::<()>(16);
1922 let (tx, _) = tokio::sync::broadcast::channel::<()>(16);
1922 let serve_dir = PathBuf::from(out_dir);
1923 let serve_dir = PathBuf::from(out_dir);
1923 let index_path = serve_dir.join("index.html");
1924 let index_path = serve_dir.join("index.html");