Add tool for spawning a dev environment under tmux.
This commit is contained in:
parent
10c766b6f7
commit
52cd8c3c86
8
dev.sh
Executable file
8
dev.sh
Executable 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
|
||||
Loading…
x
Reference in New Issue
Block a user