From 0f7d38e774aff78d41bd63c4baaa7a96f9320c0b Mon Sep 17 00:00:00 2001 From: Ziru Niu Date: Mon, 17 Jun 2024 18:10:01 +0800 Subject: [PATCH] fix build.rs watch files (#2072) --- router/client/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/client/build.rs b/router/client/build.rs index a7ade9b057d..210cd6034f5 100644 --- a/router/client/build.rs +++ b/router/client/build.rs @@ -1,7 +1,7 @@ use std::fs; fn main() -> Result<(), Box> { - println!("cargo:rerun-if-changed=../../proto/**"); + println!("cargo:rerun-if-changed=../../proto/"); fs::create_dir_all("src/v2/pb").unwrap_or(()); let mut config = prost_build::Config::new();