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

Hot reloading new file not added to context module #1162

Closed
KyleAMathews opened this issue Jun 12, 2015 · 4 comments
Closed

Hot reloading new file not added to context module #1162

KyleAMathews opened this issue Jun 12, 2015 · 4 comments

Comments

@KyleAMathews
Copy link

I'm not entirely sure what I need to do to get this working. When I make a change to files already in a module context, these are hot reloaded just fine, but when I add a new module, Webpack shows in the browser console that a new module id was "modified" and if I look at the webpack cli logging output, I see something like:

[596] ./pages/2015-05-20---tools-administer-facebook-groups/index.md 1.64 kB {0} [optional] [built]

But despite accepting the module update successfully and calling require again, this new (optional?) file isn't included in the context module.

What do I need to do?

@zenlambda
Copy link

I have a similar issue and confusion about what 'optional' means. I can't seem to even manage to hot reload an existing-but-modified file that was loaded in a context module.

@KyleAMathews KyleAMathews changed the title Hot reloading new file added to context module Hot reloading new file not added to context module Sep 28, 2015
@zh30
Copy link

zh30 commented Jul 21, 2016

Hello, I am using Gatsby a demo, but i want to deploy to https://_.github.io/helloworld/, but when i click on the link, directly after the https://_.github.io/ modified URL,this should be https://******.github.io/helloworld/ later modified, what am i going to do ?

@KyleAMathews
Copy link
Author

Hi this is the wrong place to ask questions about Gatsby. Please go to
https://github.com/gatsbyjs/gatsby and create an issue there.
On Wed, Jul 20, 2016 at 6:51 PM zhanghe [email protected] wrote:

Hello, I am using Gatsby a demo, but i want to deploy to https://.github.io/helloworld/
http://github.io/helloworld/, but when i click on the link, directly
after the https://**__.github.io/ http://github.io/ modified URL,this
should be https://
.github.io/helloworld/ later modified, what am i
going to do ?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1162 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEVhyViEgsXI_QXKfXV46Y6ZdGnQ36rks5qXtCagaJpZM4FAs80
.

@bebraw bebraw removed the question label Aug 14, 2016
@sokra
Copy link
Member

sokra commented Jul 19, 2017

fixed

@sokra sokra closed this as completed Jul 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants