Browser when starting a project

Answered

Hello everyone ! Tell me please. Why does the system browser open when launching a project on webpack, although the chrome browser is specified in the Idea settings? Can you fix this somehow?

4 comments
Comment actions Permalink

What browser is set as default in IntelliJ IDEA settings and what browser actually opens? 

Also, show your run configuration. Do you have a developer mode chosen here? Only Chrome is supported in that case. 

0
Comment actions Permalink

chrome is installed by default, but safari starts.

0
Comment actions Permalink

NPM run configuration does not open a browser. 

How it is launched in your case? 

0
Comment actions Permalink

Yes thank you ! It is my problem. It turns out that to launch the desired browser when using a webpack, you need to specify this

in the package.json: "start" "webpack serve --open 'Google Chrome'"

and Google Chrome will open! Thanks !

0

Please sign in to leave a comment.