From f298fd92f5ad58b45bbb7fd1c074dfae1e8f55bb Mon Sep 17 00:00:00 2001 From: Bernhard Kirchen Date: Sat, 21 Sep 2024 21:47:02 +0200 Subject: [PATCH] webapp: autocompile script: changes package.json triggers build if the package.json file changes, we must trigger building the web application, as in particular, a completely different version of yarn could be required. --- pio-scripts/compile_webapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pio-scripts/compile_webapp.py b/pio-scripts/compile_webapp.py index 25006f80..f28de296 100644 --- a/pio-scripts/compile_webapp.py +++ b/pio-scripts/compile_webapp.py @@ -70,7 +70,7 @@ def main(): directories = ["webapp/src/", "webapp/public/"] files = ["webapp/index.html", "webapp/tsconfig.config.json", "webapp/tsconfig.json", "webapp/vite.config.ts", - "webapp/yarn.lock"] + "webapp/yarn.lock", "webapp/package.json"] hash_file = "webapp_dist/.hashes.pkl" check_files(directories, files, hash_file)