From 9b880fa5e1fb478ee2b0b1835196ff51f68c1b70 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Fri, 30 Aug 2024 10:38:31 +0100 Subject: [PATCH] revert this as it is unreliable --- src/textual_dev/cli.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/textual_dev/cli.py b/src/textual_dev/cli.py index 5da2744..e67d484 100644 --- a/src/textual_dev/cli.py +++ b/src/textual_dev/cli.py @@ -257,9 +257,6 @@ def serve( """ from textual_serve.server import Server - if " " not in command and command.endswith(".py"): - command = f"python {command}" - server = Server(command, host, port, title=title, public_url=url) server.serve(debug=dev)