Skip to content

Commit

Permalink
webapp: autocompile script: changes package.json triggers build
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
schlimmchen committed Sep 21, 2024
1 parent 503455d commit f298fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pio-scripts/compile_webapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f298fd9

Please sign in to comment.