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:
parent
503455dc51
commit
f298fd92f5
@ -70,7 +70,7 @@ def main():
|
|||||||
directories = ["webapp/src/", "webapp/public/"]
|
directories = ["webapp/src/", "webapp/public/"]
|
||||||
files = ["webapp/index.html", "webapp/tsconfig.config.json",
|
files = ["webapp/index.html", "webapp/tsconfig.config.json",
|
||||||
"webapp/tsconfig.json", "webapp/vite.config.ts",
|
"webapp/tsconfig.json", "webapp/vite.config.ts",
|
||||||
"webapp/yarn.lock"]
|
"webapp/yarn.lock", "webapp/package.json"]
|
||||||
hash_file = "webapp_dist/.hashes.pkl"
|
hash_file = "webapp_dist/.hashes.pkl"
|
||||||
|
|
||||||
check_files(directories, files, hash_file)
|
check_files(directories, files, hash_file)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user