Created by: ZaninAndrea
In linux I can set export BROWSER=none
to avoid opening the browser when launching npm start
, whereas in windows I cannot.
When using react inside electron it's annoying that the browser opens automatically.
I propose to check the BROWSER environment variable before opening the browser, to avoid the issue
Below a screenshot of the updated react-script running smoothly