You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a .env file with this key BROWSER=google chrome or any browser that is not your default browser
Run nuxi dev -o, the default browser will open instead of the specified browser in the env file
Describe the bug
From the vite documentation using the open npm package, it should open the browser specified in process.env.browser, I suppose Nuxt use it's own implementation instead of the one in Vite ?
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
mrleblanc101
changed the title
nuxi dev -o doesn't respect prefered browsernuxi dev -o doesn't respect preferred browser
Jan 14, 2024
Environment
Darwin
v16.19.1
3.1.1
2.1.0
yarn@1.22.19
vite
srcDir
,ssr
,app
,modules
,content
,colorMode
,postcss
,vite
@nuxtjs/tailwindcss@6.3.0
,@nuxtjs/color-mode@3.2.0
,@nuxt/content@2.4.2
,@vueuse/nuxt@9.11.1
,@nuxt/image-edge@1.0.0-27913696.5d122a3
-
Reproduction
BROWSER=google chrome
or any browser that is not your default browsernuxi dev -o
, the default browser will open instead of the specified browser in the env fileDescribe the bug
From the vite documentation using the open npm package, it should open the browser specified in
process.env.browser
, I suppose Nuxt use it's own implementation instead of the one in Vite ?Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: