Skip to content

If port 3000 is being used, find another port #52

@jedahan

Description

@jedahan

https://www.npmjs.com/package/get-port has a neat way of doing this - you request 3000 but if that doesn't work, it grabs another one.

You can then use https://www.npmjs.com/package/opn to automatically open it

And then in the browser, grab the port from window.location

Lemme know the good/bad/ugly of this idea

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions