Skip to content

Why does quarto preview always choose a new port? #2083

Answered by cscheid
SamEdwardes asked this question in Q&A
Discussion options

You must be logged in to vote

We do this because we've found in the past that some operating systems sometimes hold ports longer than the process's lifetime, which means that quickly iterating through a number of quarto preview processes could lead to users having to manually choose different ports anyway.

(I find this behavior not optimal either, but the alternative is worse)

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@SamEdwardes
Comment options

@rgaiacs
Comment options

@mcanouil
Comment options

@cbrnr
Comment options

Answer selected by SamEdwardes
Comment options

You must be logged in to vote
2 replies
@mcanouil
Comment options

mcanouil Dec 8, 2022
Collaborator

@GNKurtlar
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants