can i configure the run task to open chrome instea...
# javascript
c
can i configure the run task to open chrome instead of safari on macOS?
j
The run (or rather browserDevelopmentRun) task will use webpack to do its work. So I think you can configure it to open a specific browser, other than your OS default. I found this link, hope it helps: https://stackoverflow.com/a/44931515/2443203
c
thanks. in case anyome is also interested i just placed a file called
useChrome.js
in
webpack.config.d
with this content:
Copy code
if (config.devServer === undefined)
    config.devServer = {}
config.devServer.open = 'Google Chrome'