-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Hot reload of markdown files not working #94
Comments
Oh CORS. I can confirm this on a fresh install of Gatsby in a Linux VM. Can't reproduce in my Mac install. Investigating... |
I'm using osx El Capitan and node 5.1.0 if that helps. I tried older versions of gatsby and older versions of node but I get the same behaviour. |
@KyleAMathews I can reproduce this in OSX too :( |
Ok, I can reproduce on my mac by deleting |
Arggg... it was this webpack/webpack-dev-server#302 Downgrading webpack-dev-server to 1.12.1 fixed the problem... investigating why sockjs would cause trouble... |
Apparently a known problem webpack/webpack-dev-server#326 and webpack/webpack-dev-server#328 I'll release a new version of Gatsby downgrading webpack-dev-server and do a new release once webpack/webpack-dev-server#328 is merged and I've confirmed it's fixed. |
Fixed in 62fff69 Released 0.7.3 |
Yay! thanks for the fix. |
@KyleAMathews, webpack-dev-server v1.14.1 has been released, which should fix the issue. It could be interesting to upgrade, since sockjs is much lighter than socket.io (doesn't have native build deps). |
I just installed gatsby for the first time and followed the examples found here. The page loads but when I make some changes to one of the markdown files I need to manually reload the page.
It seems to be some kind of CORS problem.
Thanks for such a nice tool!
The text was updated successfully, but these errors were encountered: