From 28021b76afdb8c30ff06cc06fb61069234d4e98b Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 11 May 2023 15:13:49 +1000 Subject: [PATCH] Rerun eslint rules when tsconfig changes --- build/ninja_gen/src/node.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/ninja_gen/src/node.rs b/build/ninja_gen/src/node.rs index 89cd16bc1..b07f859aa 100644 --- a/build/ninja_gen/src/node.rs +++ b/build/ninja_gen/src/node.rs @@ -262,7 +262,7 @@ impl BuildAction for Eslint<'_> { build.add_inputs("eslint", inputs![":node_modules:eslint"]); build.add_inputs("eslint_rc", &self.eslint_rc); build.add_inputs("in", &self.inputs); - build.add_inputs("", inputs!["yarn.lock"]); + build.add_inputs("", inputs!["yarn.lock", "ts/tsconfig.json"]); build.add_variable("fix", if self.fix { "--fix" } else { "" }); build.add_variable("folder", self.folder); let hash = simple_hash(self.folder);