Skip to content

hyperbook dev port option doesn't seem to work. #982

@Hypersonic-Popcorn

Description

@Hypersonic-Popcorn

I tried to start a dev server on an alternate port and it still tried to use port 8080.

❯ npx hyperbook dev --port 8044
[Rebuilding (Initialize)]: .
[The Cadence 16 Fantasy Computer - a Work Log] Building Book.
[The Cadence 16 Fantasy Computer - a Work Log] Reading hyperbook.json.
[The Cadence 16 Fantasy Computer - a Work Log] Cleaning output folder /home/aria/projects/writing/cadence_16_worklog/.hyperbook/out.
[The Cadence 16 Fantasy Computer - a Work Log] Zipping archives.
[The Cadence 16 Fantasy Computer - a Work Log] Archive project-1 zipped.
[The Cadence 16 Fantasy Computer - a Work Log] Buildung book: [3/3]
[The Cadence 16 Fantasy Computer - a Work Log] Buildung glossary: [1/1]
[The Cadence 16 Fantasy Computer - a Work Log] Copying public files: [2/2]

[The Cadence 16 Fantasy Computer - a Work Log] Copying hyperbook assets: [51/51]
[The Cadence 16 Fantasy Computer - a Work Log] Build success: /home/aria/projects/writing/cadence_16_worklog/.hyperbook/out
[Reloading]: Website
[DEV-SERVER] is running at http://localhost:8080

I'm running hyperbook@0.52.4 with Node.js v23.11.1 on linux and installed using the command line. In this case I had two related documents I wanted to work on at the same time but as you can see, it always seems to bind to port 8080.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions