diff --git a/build.py b/build.py index f6a5ee1..d3fbd0b 100644 --- a/build.py +++ b/build.py @@ -23,6 +23,9 @@ if __name__ == "__main__": os.makedirs(OUT_DIR) + # TODO: handle multiple package managers line npm(node), deno, yarn + # TODO?: install node deps automatically + if not args.no_rebuild: build = subprocess.call(["bun", "run", "build"], cwd="./gui", shell=True) if build != 0: diff --git a/dev.py b/dev.py index 5115acf..66c8eab 100644 --- a/dev.py +++ b/dev.py @@ -7,6 +7,9 @@ if __name__ == "__main__": environment = os.environ.copy() environment["is_dev"] = "True" + # TODO: handle multiple package managers line npm(node), deno, yarn + # TODO?: install node deps automatically + gui_proc = subprocess.Popen(["bun", "run", "dev"], cwd="./gui", env=environment, shell = True) app_proc = subprocess.Popen(["python", "main.py"], cwd="./src", env=environment, shell = True)