Add tool for spawning a dev environment under tmux.

This commit is contained in:
Bill Thiede 2021-11-08 18:40:42 -08:00
parent 10c766b6f7
commit 52cd8c3c86

8
dev.sh Executable file
View File

@ -0,0 +1,8 @@
tmux new-session -d -s letterbox-dev
tmux rename-window web-watch
tmux send-keys "cd web; cargo make watch" C-m
tmux new-window -n web-serve
tmux send-keys "cd web; cargo make serve" C-m
tmux new-window -n server
tmux send-keys "cd server; cargo watch -x run" C-m
tmux attach -d -t letterbox-dev