Skip to content

Commit 98e3a66

Browse files
committed
chore: run.sh cd to repo root
1 parent c733d61 commit 98e3a66

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

run.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4+
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
5+
cd "${script_dir}"
6+
47
port=5173
58
pids="$(lsof -ti "tcp:${port}" 2>/dev/null || true)"
69
if [[ -n "${pids}" ]]; then

0 commit comments

Comments
 (0)