trunk-rs/trunk

Automatically try the next available port

Open

#805 opened on May 29, 2024

 (1 comment) (1 reaction) (0 assignees)Rust (315 forks)auto 404
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (4,347 stars)
PR merge metrics
 (PR metrics pending)

Description

Automatically try the next available port by default, if the port is already being used, like Vite. Vite has a second option to disable this behavior, if necessary.

Useful when there are other moving parts in the system, and you just want to trunk serve --open.

Contributor guide