This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 432
select available port #169
Comments
I'm running multiple sapper instances with Should those occurences of 3000 be replaced by |
ah yeah, there's a couple of places where things are hardcoded that shouldn't be. Good catch. And yeah, I guess we may as well treat |
Fixed by #184 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It would make sense if Sapper automatically selected an available port (starting at 3000, since that's what we're currently using) when doing
sapper dev
orsapper start
.I have a situation though where I have multiple Sapper apps that need to communicate with each other, so the ports need to be known ahead of time. For that reason it would also make sense if we could select a port with
sapper dev --port 4567
(or-p 4567
), and Sapper would bail if it wasn't available.The text was updated successfully, but these errors were encountered: