From ef6bce8f3f9670e667e49230819fb46a4d446879 Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Mon, 9 Feb 2026 15:55:08 +0000 Subject: [PATCH] Use the CLI script rather than python -m for running the main app from devserver. --- template/scripts/fastapi-vue/devutil.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/template/scripts/fastapi-vue/devutil.py b/template/scripts/fastapi-vue/devutil.py index 811781c..66c4744 100644 --- a/template/scripts/fastapi-vue/devutil.py +++ b/template/scripts/fastapi-vue/devutil.py @@ -207,10 +207,5 @@ def setup_cli( host = endpoints[0]["host"] port = endpoints[0]["port"] - cmd = [ - sys.executable, - "-m", - cli, - f"--listen={host}:{port}", - ] + cmd = [cli, f"--listen={host}:{port}"] return f"http://{host}:{port}", cmd