diff --git a/crates/zed/build.rs b/crates/zed/build.rs index 3d21703a15..f030f98e14 100644 --- a/crates/zed/build.rs +++ b/crates/zed/build.rs @@ -26,7 +26,7 @@ fn main() { .expect("failed to run npm"); if !output.status.success() { panic!( - "build-themes script failed {}", + "build script failed {}", String::from_utf8_lossy(&output.stderr) ); } diff --git a/crates/zed/src/main.rs b/crates/zed/src/main.rs index 8fd2d2451e..e17cbe558a 100644 --- a/crates/zed/src/main.rs +++ b/crates/zed/src/main.rs @@ -441,7 +441,7 @@ async fn watch_themes( while (events.next().await).is_some() { let output = Command::new("npm") .current_dir("styles") - .args(["run", "build-themes"]) + .args(["run", "build"]) .output() .await .log_err()?; @@ -449,7 +449,7 @@ async fn watch_themes( cx.update(|cx| theme_selector::ThemeSelector::reload(themes.clone(), cx)) } else { eprintln!( - "build-themes script failed {}", + "build script failed {}", String::from_utf8_lossy(&output.stderr) ); }