diff --git a/bwatch b/bwatch new file mode 100755 index 0000000..96a2c1a --- /dev/null +++ b/bwatch @@ -0,0 +1,10 @@ +#!/usr/bin/zsh + +# 2.1 means "1st pane of the 2nd window" +echo "Starting bwatch..." +tmux send-keys -t 2.1 C-c +sleep 0.5 +tmux send-keys -t 2.1 clear C-m +sleep 0.2 +tmux send-keys -t 2.1 "go run ./cmd/client" C-m +sleep 0.2