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.
This commit is contained in:
Bernhard Kirchen 2024-09-21 21:47:02 +02:00
parent 503455dc51
commit f298fd92f5

View File

@ -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)