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.
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.
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?
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!
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.
Hey @gaearon, Is there a commit I can follow to see when this gets released, didn't see anything related in the changelog?
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
BROWSERenvironment variable tonone. You can also specify a different browser (or an arbitrary script) to open by default, as supported byopncommand that we use under the hood. See Advanced Configuration.
Most helpful comment
This is released in 0.9.0.