Skip to content

Linux xdg-open browser support #5

Description

@scott

The README advertises macOS and Linux support, but openBrowser in main.go:69-74 only invokes the macOS open command. On Linux this silently fails (just logs a warning) and the browser never opens.

Should detect the OS and use xdg-open on Linux. Possibly fall back to xdg-open if open is unavailable (some Linux distros ship both).

Tracked from the live-reload implementation PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions