Skip to content

Suggest preact commands to run dev server on new port if 8080 is already being used #179

@reznord

Description

@reznord

As of now, when we run a dev server using preact serve or preact watch by default opens on 8080 port.

If there is a process which runs on 8080 already, preact doesn't ask the user whether he wants to run on a new port. As of now it terminates the process.

It would be great if we can suggest the CLI to ask the user whether he wants to run on a different port.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions