Sapper: Set Dev Port by config

Created on 26 Aug 2018  Â·  1Comment  Â·  Source: sveltejs/sapper

Doesn't look like overriding the dev port is possible:

https://github.com/sveltejs/sapper/blob/c5456d30334c91982d347db29de8af9ea684dd2e/src/api/dev.ts#L107

Not clear where this.port is set, but I'd love to see devPort treated the same. Makes containing the code easier.

Most helpful comment

Good idea! Added a --dev-port flag in 0.18.4 — thanks

>All comments

Good idea! Added a --dev-port flag in 0.18.4 — thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

benmccann picture benmccann  Â·  3Comments

Rich-Harris picture Rich-Harris  Â·  3Comments

nolanlawson picture nolanlawson  Â·  4Comments

mylastore picture mylastore  Â·  3Comments

Snugug picture Snugug  Â·  4Comments