como-web/scripts/dev.sh

21 lines
304 B
Bash
Raw Normal View History

#!/bin/bash
tmux new-window -n dev
# allow for user input
tmux split-window -h
# leptos
tmux send-keys -t dev "cuddle x leptos:dev" C-m
tmux split-window -v
# tailwind
tmux send-keys -t dev "cuddle x tailwind:watch" C-m
# set user input to first
tmux select-pane -t 0
tmux attach-session -t dev