8 lines
421 B
Bash
Executable File
8 lines
421 B
Bash
Executable File
cd -- "$( dirname -- "${BASH_SOURCE[0]}" )"
|
|
tmux new-session -d -s letterbox-dev
|
|
tmux rename-window web
|
|
tmux send-keys "cd web; trunk serve --release --address 0.0.0.0 --port 6758 --proxy-backend http://localhost:9345/ --proxy-rewrite=/api/ -w ../shared -w ../notmuch -w ./" C-m
|
|
tmux new-window -n server
|
|
tmux send-keys "cd server; cargo watch -x run -w ../shared -w ../notmuch -w ./" C-m
|
|
tmux attach -d -t letterbox-dev
|