como-web/scripts/dev.sh
kjuulh c3b45d9eb6
feat: with dev environment
Signed-off-by: kjuulh <contact@kjuulh.io>
2023-06-04 12:58:23 +02:00

21 lines
316 B
Bash
Executable File

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