From 42e88c43a42e2e353fe773019c0e023a94ec27b3 Mon Sep 17 00:00:00 2001 From: Keith Simmons Date: Wed, 25 May 2022 11:08:40 -0700 Subject: [PATCH] Use npm install rather than ci and only run build.rs when styles/src is changed rather than all styles --- crates/zed/build.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/zed/build.rs b/crates/zed/build.rs index c42fa6bda8..7a0646dda6 100644 --- a/crates/zed/build.rs +++ b/crates/zed/build.rs @@ -5,7 +5,7 @@ fn main() { let output = Command::new("npm") .current_dir("../../styles") - .args(["ci"]) + .args(["install"]) .output() .expect("failed to run npm"); if !output.status.success() { @@ -27,5 +27,5 @@ fn main() { ); } - println!("cargo:rerun-if-changed=../../styles"); + println!("cargo:rerun-if-changed=../../styles/src"); }