Skip to content

Commit

Permalink
feat: Auto rename tmux window
Browse files Browse the repository at this point in the history
  • Loading branch information
leoshimo committed Nov 30, 2023
1 parent 7c37a66 commit 9d0a0f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/serve.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env sh
# serve.sh - Trivial Serve

if [ "$TMUX" ]; then
tmux rename-window "serve"
fi

while true; do
PID=$(RUST_LOG=debug cargo run --bin vrsd > vrsd.log) &
sleep 1
Expand Down

0 comments on commit 9d0a0f1

Please sign in to comment.