Skip to content

Commit ff65428

Browse files
committed
Skip auto dev services if logs command
1 parent 6ca0f3c commit ff65428

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plain-dev/plain/dev/cli.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ def _auto_start_services():
3232
return
3333

3434
# Don't do anything if it looks like a "services" command is being run explicitly
35-
if "services" in sys.argv or "--stop" in sys.argv:
36-
return
35+
if "dev" in sys.argv:
36+
if "logs" in sys.argv or "services" in sys.argv or "--stop" in sys.argv:
37+
return
3738

3839
if not ServicesProcess.get_services(APP_PATH.parent):
3940
return

0 commit comments

Comments
 (0)