fix: Use npx tsx so tsx resolves from local node_modules

This commit is contained in:
Lukas May
2026-03-03 12:03:05 +01:00
parent 0fad4a42b9
commit 2eada071a1

View File

@@ -23,7 +23,7 @@ fi
# Server: runs from workdir/ so cw finds .cwrc here
tmux new-session -d -s "$SESSION" -n server -c "$WORKDIR"
tmux send-keys -t "$SESSION:server" "tsx watch $ROOT/apps/server/bin/cw.ts --server" Enter
tmux send-keys -t "$SESSION:server" "npx tsx watch $ROOT/apps/server/bin/cw.ts --server" Enter
# Frontend: runs from project root via npm workspace
tmux new-window -t "$SESSION" -n web -c "$ROOT"