Parcel: serve --port default to $PORT?

Created on 2 Apr 2018  路  2Comments  路  Source: parcel-bundler/parcel

$PORT is a really common environment variable for specifying the port to use for web servers.

We may want to consider defaulting to the value of process.env.PORT || 1234

https://github.com/parcel-bundler/parcel/blob/fc041d03c36bf41ea73c398e8d177de1a456e796/src/cli.js#L182

Good First Issue Help Wanted Feature

Most helpful comment

Could I take this issue?

All 2 comments

Hi @jamiebuilds
I am getting this error when i try to deploy on heroku:

Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch.

Is it related with that issue? I couldn't fix it.

Could I take this issue?

Was this page helpful?
0 / 5 - 0 ratings