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

"gatsby develop" Hot Reloading opens browser tab multiple times #3020

Closed
LekoArts opened this issue Nov 24, 2017 · 5 comments · May be fixed by Xtuden-com/gatsby#2
Closed

"gatsby develop" Hot Reloading opens browser tab multiple times #3020

LekoArts opened this issue Nov 24, 2017 · 5 comments · May be fixed by Xtuden-com/gatsby#2
Assignees

Comments

@LekoArts
Copy link
Contributor

Hi,

I normally modify the "scripts" in the package.json to gatsby develop -o to save some time. With the latest Gatsby version some weird behavior occurred. Initially it opens my browser tab as always but when I edit my markdown files for example it opens up a new browser tab on every save instead of hot reloading the old one.

Right now I have to remove the -o to have Gatsby working as intended.

@LekoArts
Copy link
Contributor Author

LekoArts commented Dec 5, 2017

@KyleAMathews Still relevant :/

@SKempin
Copy link

SKempin commented Dec 5, 2017

I'm also experiencing this issue, on both Windows and Mac.

@kennedyrose
Copy link
Contributor

I am experiencing this as well. I'm using the latest Gatsby version (1.9.128), with Chrome on Mac.

@ghost ghost assigned KyleAMathews Dec 14, 2017
@ghost ghost added the review label Dec 14, 2017
@ghost ghost removed the review label Dec 14, 2017
@KyleAMathews
Copy link
Contributor

The latest gatsby should have this fixed — leave a comment if otherwise!

@Lc0rE
Copy link

Lc0rE commented Jan 25, 2018

I'm experiencing this issue on Windows. Even invoking the dev server with the gatbsy develop -H localhost is working for me.
I can't see an opening tab when I start the server and, of course, there is no Hot Reloading.
Curious thing: when I stop the server from the terminal, I can see this message in the browser console:

[HMR] connected process-update.js:41 
[HMR] Checking for updates on the server...

Should I try something else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants