I am learning react and find myself running npm start
on the terminal a couple of times but its annoying how it opens a new browser window everytime. I’m trying to stop this from happening on linux.
I found a solution for how to do this on Windows, but how can I do it on Linux?
Advertisement
Answer
Adding BROWSER=none
to the .env
file should get it solved.