fix: Use npx tsx so tsx resolves from local node_modules
This commit is contained in:
@@ -23,7 +23,7 @@ fi
|
|||||||
|
|
||||||
# Server: runs from workdir/ so cw finds .cwrc here
|
# Server: runs from workdir/ so cw finds .cwrc here
|
||||||
tmux new-session -d -s "$SESSION" -n server -c "$WORKDIR"
|
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
|
# Frontend: runs from project root via npm workspace
|
||||||
tmux new-window -t "$SESSION" -n web -c "$ROOT"
|
tmux new-window -t "$SESSION" -n web -c "$ROOT"
|
||||||
|
|||||||
Reference in New Issue
Block a user