13 lines
270 B
Bash
Executable File
13 lines
270 B
Bash
Executable File
#!/bin/sh
|
|
|
|
SESSION="project_monitor"
|
|
|
|
tmux new-session -d -s $SESSION
|
|
|
|
tmux send-keys -t $SESSION "cd backend && uvicorn backend:app --reload" C-m
|
|
|
|
tmux split-window -h -t $SESSION
|
|
tmux send-keys -t $SESSION:0.1 "cd frontend && npm run dev" C-m
|
|
|
|
tmux attach -t $SESSION
|