Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Set Dev Port by config #381

Closed
Crisfole opened this issue Aug 26, 2018 · 1 comment · Fixed by #396
Closed

Set Dev Port by config #381

Crisfole opened this issue Aug 26, 2018 · 1 comment · Fixed by #396

Comments

@Crisfole
Copy link

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

const dev_port = await ports.find(10000);

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

@Rich-Harris
Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants