8 lines
450 B
Bash
Executable File
8 lines
450 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 -w ../.git -w ../shared -w ../notmuch -w ./" C-m
|
|
tmux new-window -n server
|
|
tmux send-keys "cd server; cargo watch -c -w ../.git -w ../shared -w ../notmuch -w ./ -x 'run postgres://newsreader@nixos-07.h.xinu.tv/newsreader ../target/database/newsreader /tmp/letterbox/slurp'" C-m
|
|
tmux attach -d -t letterbox-dev
|