Skip to content

Commit

Permalink
Allow PORT to be specified when using bin/dev
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
forkata and harmonymjb committed Nov 21, 2024
1 parent 104f813 commit d0e62d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/dev
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"

0 comments on commit d0e62d9

Please sign in to comment.