Reputation: 435
How can i change the default browser fired up when running npm start
for a create-react-app
created app?
It'll run Firefox but I'd like the Chrome...
Upvotes: 0
Views: 6818
Reputation: 54
I think these links might help:
Both set the BROWSER
environment variable before executing the start command.
In your case you'll have to edit the start
command package.json
file according to this answer: https://stackoverflow.com/a/59882442/10250548
Upvotes: 1