From 21d0b6301ea3a11b3151ddacf3815db278bb726b Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Fri, 2 May 2014 15:26:05 -0400 Subject: [PATCH] Update server makefile behavior with two mechanisms one of which will start the development services in tmux but not attach to the session --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9cad81984c..21192b067e 100644 --- a/Makefile +++ b/Makefile @@ -113,7 +113,7 @@ dbchange: dbshell: sudo -u postgres psql -d awx-dev -server: +server_noattach: tmux new-session -d -s tower 'exec make runserver' tmux rename-window 'Tower' tmux select-window -t tower:0 @@ -122,6 +122,8 @@ server: tmux select-pane -U tmux split-window -v 'exec make receiver' tmux split-window -h 'exec make taskmanager' + +server: server_noattach tmux -2 attach-session -t tower # Run the built-in development webserver (by default on http://localhost:8013).