A side effect of opening an __open-in-editor link from the terminal/console is an empty browser window is left opened.
To reproduce:
- Start vite dev server on port 5173
- Paste
http://localhost:5173/__open-in-editor?file=/ into browser JS console.
- Click resulting link.
May also echo link to terminal and CTRL+click the link.
Work-around:
Context:
I wrote a utility function that outputs the __open-in-editor link for the file it was called from.

