Browser when starting a project Follow
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?
Please sign in to leave a comment.
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.
chrome is installed by default, but safari starts.
NPM run configuration does not open a browser.
How it is launched in your case?
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 !