yandeu / five-server

⚡ Development Server with Live Reload Capability. (Maintained Fork of Live Server)
https://www.npmjs.com/package/five-server
Other
162 stars 14 forks source link

Can't open file in a Chrome private window #132

Open ludon89 opened 5 months ago

ludon89 commented 5 months ago

Hey, it seems that even with the right config, it's impossible to open files in a Chrome private window. The website I'm working on keeps opening in the normal Chrome window I already have open instead (Chrome is my default browser).

I'm on macOS Sonoma with the latest version of VS Code.

I've set the fiveServer.browser setting to ["google chrome --incognito"]. I've also tried with chrome and google-chrome, as well as the --private-window flag instead. I was getting an error message in the terminal with the chrome setting but I'm not getting any with google chrome.

Something interesting to note: if I try to open a file without having Chrome already open, it starts both an empty private window, and a normal Chrome window with the file I'm opening.

Cheers