From d0e62d9f69ce242d2863257341cc607e95d79d25 Mon Sep 17 00:00:00 2001 From: Chris Todorov Date: Thu, 14 Nov 2024 13:50:33 -0800 Subject: [PATCH] Allow PORT to be specified when using `bin/dev` Previously this would force the development server to run on 3000, but it is useful to be able to override that. Co-authored-by: Harmony Evangelina --- bin/dev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/dev b/bin/dev index 20dee8d5d1e..a55e33a5e0f 100755 --- a/bin/dev +++ b/bin/dev @@ -9,5 +9,5 @@ if ! test -d sandbox; then bin/sandbox fi -export PORT=3000 +export PORT=${PORT:-3000} exec foreman start -f Procfile.dev "$@"