gogame-old/run-local.sh
run-local.shRaw
1#!/bin/sh
2
3SESSION="gogame"
4
5tmux kill-session -t $SESSION || true
6
7tmux new-session -d -s $SESSION
8tmux split-window -d -t 0 -h
9
10tmux send-keys -t 0 "go run main.go --config config.yaml start" enter
11tmux send-keys -t 1 "cd ../gogame-frontend && live-server" enter
12
13tmux attach -t $SESSION