Skip to content

serve/watch with --open blocks change watcher #1639

@johannst

Description

@johannst

In case the watch feature is enabled and we run one of the following commands

mdbook serve --open
mdbook watch --open

listening for file changes is blocked until the browser is closed.

Should we open the browser in a separate thread and start listening for changes immediately?

See PR (#1638) for example.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions