Skip to content

Commit 5ae9d23

Browse files
johnstcnmafredri
andauthored
Update scripts/develop.sh
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
1 parent 7d2a915 commit 5ae9d23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/develop.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ fi
7474
# Preflight checks: ensure we have our required dependencies, and make sure nothing is listening on port 3000 or 8080
7575
dependencies curl git go jq make pnpm
7676

77-
if curl --fail http://127.0.0.1:3000 >/dev/null 2>&1; then
77+
if curl --silent --fail http://127.0.0.1:3000; then
7878
# Check if this is the Coder development server.
7979
if curl --silent --fail http://127.0.0.1:3000/api/v2/buildinfo 2>&1 | jq -r '.version' >/dev/null 2>&1; then
8080
echo '== INFO: Coder development server is already running on port 3000!' && exit 0

0 commit comments

Comments
 (0)