question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

start without opening url in browser

See original GitHub issue

I’m currently using create-react-app in an electron app without issues. The only discomforting thing is that whenever I start the development server it opens the app in the browser, which I don’t need. Is there any way to pass a parameter to tell react-scripts to start the development server without redirecting?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:10
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

25reactions
Timercommented, Sep 5, 2017

Please see Advanced Configuration. You can create a .env file and add BROWSER=none.

5reactions
masterBrogcommented, Nov 15, 2018

also: "scripts": { "start": "BROWSER=none react-scripts start" } In package.json

Read more comments on GitHub >

github_iconTop Results From Across the Web

Open website without actually opening it in browser from ...
I just want a command which mimics that call to the website but not open a tab or show anything. Reason behind this...
Read more >
Executing a url without opening it on the browser in Javascript ...
open ("GET","http://localhost/url",true); xmlhttp.send();. How can I have this URL executed without opening it on the browser in any way? Just to ...
Read more >
Call URL from console without opening in any browser
Is there any way to call the url without actually causing my browser to open a new tab? Could I somehow call the...
Read more >
[HELP] Hit / open a URL without opening it in Browser - Reddit
Basically, I want to hit a URL, but don't want to open it in browser. Only related action that I can find is...
Read more >
Need to run URL without opening browser - Overclock.net
Basically choose http or https, enter a URL you want to request (ie. www.google.com), enter the interval of the requests in minutes, and ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found