Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable browser opening on start #1284

Closed
aep opened this issue Dec 16, 2016 · 6 comments
Closed

disable browser opening on start #1284

aep opened this issue Dec 16, 2016 · 6 comments

Comments

@aep
Copy link

aep commented Dec 16, 2016

automatic reload does not work on linux, so i restart "npm start" after edit,
This opens a new browser page, which makes the workflow annoying.

It would be great if this could be disabled.

@aep aep changed the title disable browser start on tun disable browser opening on start Dec 16, 2016
@lucasavila00
Copy link

Hot reloading doesn't work on firefox for me using Ubuntu 16. Chrome does...
On Ubuntu 14, both work.
But it's kind of annoying when the browser opens because if you 'sudo npm run start' it will open Firefox even when Chrome is set as default browser.
If you don't sudo start it's ok.

@gaearon
Copy link
Contributor

gaearon commented Dec 18, 2016

Support for configuring the browser has already been merged and will be available in the next release (likely in January).

If reload doesn't work for you it is a completely separate issue and we need a reproducing example and OS details to figure out why it doesn't work. Let's fix the issue instead of fixing the symptom?

@gaearon
Copy link
Contributor

gaearon commented Dec 18, 2016

I am closing this issue because support for not starting the browser is already merged so this is not actionable for us. Again, it will have to wait until after the holidays.

I do want to solve the problem with "reloading not working". But I need your cooperation. When you filed an issue you decided to delete the issue template. The issue template was specifically written for issues like this where we need to know more about your project and system to figure out what's wrong. Please create a new issue about reloading not working and do fill the issue template.

Thanks!

@gaearon gaearon closed this as completed Dec 18, 2016
@gaearon
Copy link
Contributor

gaearon commented Dec 18, 2016

There are also some OS specific troubleshooting instructions here: https://webpack.github.io/docs/troubleshooting.html#webpack-doesn-t-recompile-on-change-while-watching

Let me know if any of them help.

@craigmulligan
Copy link
Contributor

Hey @gaearon, Is there a commit I can follow to see when this gets released, didn't see anything related in the changelog?

@gaearon
Copy link
Contributor

gaearon commented Feb 24, 2017

This is released in 0.9.0.

#1148 Configure which browser to open with npm start. (@GAumala)

You can now disable the automatic browser launching by setting the BROWSER environment variable to none. You can also specify a different browser (or an arbitrary script) to open by default, as supported by opn command that we use under the hood. See Advanced Configuration.

@lock lock bot locked and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants