Changed eko tmux session while evulating mprocs, might revert
This commit is contained in:
@@ -28,16 +28,19 @@ elif [ "$sess" = "eko" ]; then
|
||||
tmux send-keys -t $sess:editor.1 "vim" C-m
|
||||
|
||||
tmux new-window -t $sess -n app -c $dir
|
||||
tmux split-window -t $sess:app.1 -v -c $dir
|
||||
tmux send-keys -t $sess:app.2 "watchexec --exts=go './reload.sh'" C-m
|
||||
tmux resize-pane -Z -t $sess:app.1
|
||||
tmux send-keys -t $sess:app "mprocs" C-m
|
||||
|
||||
tmux new-window -t $sess -n logs -c $dir
|
||||
tmux split-window -t $sess:logs.1 -h -c $dir
|
||||
tmux split-window -t $sess:logs.2 -v -c $dir
|
||||
tmux send-keys -t $sess:logs.1 "tail -f messages.log" C-m
|
||||
tmux send-keys -t $sess:logs.2 "tail -f client.log" C-m
|
||||
tmux send-keys -t $sess:logs.3 "go run ./cmd/server --stdout" C-m
|
||||
# tmux new-window -t $sess -n app -c $dir
|
||||
# tmux split-window -t $sess:app.1 -v -c $dir
|
||||
# tmux send-keys -t $sess:app.2 "watchexec --exts=go './reload.sh'" C-m
|
||||
# tmux resize-pane -Z -t $sess:app.1
|
||||
#
|
||||
# tmux new-window -t $sess -n logs -c $dir
|
||||
# tmux split-window -t $sess:logs.1 -h -c $dir
|
||||
# tmux split-window -t $sess:logs.2 -v -c $dir
|
||||
# tmux send-keys -t $sess:logs.1 "tail -f messages.log" C-m
|
||||
# tmux send-keys -t $sess:logs.2 "tail -f client.log" C-m
|
||||
# tmux send-keys -t $sess:logs.3 "go run ./cmd/server --stdout" C-m
|
||||
|
||||
tmux select-window -t $sess:editor
|
||||
elif [ "$sess" = "server" ]; then
|
||||
|
||||
Reference in New Issue
Block a user