use npx get-port to get a free port

This commit is contained in:
Max Howell 2023-08-02 11:33:56 -04:00
parent 3235fb8e8b
commit bc3aca83e4
No known key found for this signature in database
GPG key ID: 741BB84EF5BB9EEC
2 changed files with 2 additions and 3 deletions

View file

@ -2,9 +2,7 @@
set -em set -em
# source <(tea +curl.se) PORT=$(tea get-port)
PORT=43873 #TODO find a port automatically!
openplayground run --port $PORT & openplayground run --port $PORT &

View file

@ -10,6 +10,7 @@ platforms: darwin
dependencies: dependencies:
python.org: ~3.11 python.org: ~3.11
gnu.org/bash: '*' gnu.org/bash: '*'
tea.xyz: ^0
build: build:
dependencies: dependencies: