Changed eko tmux session while evulating mprocs, might revert

This commit is contained in:
2025-05-26 22:36:58 +03:00
parent 3d0af5a12e
commit f3400383f1

View File

@@ -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