Skip to content

activating this plugin causes createPages to be called many times #3

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

Open
rburgst opened this issue Apr 16, 2020 · 4 comments
Open

Comments

@rburgst
Copy link

rburgst commented Apr 16, 2020

as soon as I activate this plugin together with gatsby-source-graphql connected to a wordpress site my main createPages method is being called like 10-15 times rather than once.

I am guessing there is an await missing somewhere.

@rburgst
Copy link
Author

rburgst commented Apr 16, 2020

maybe similar issue as mentioned here? https://dev.to/byronwade/comment/mjmk

@rburgst
Copy link
Author

rburgst commented May 4, 2020

anyone home?

@rburgst
Copy link
Author

rburgst commented May 11, 2020

seems to be due to this: gatsbyjs/gatsby#20083

@rburgst
Copy link
Author

rburgst commented May 11, 2020

the correct solution was provided by @sanderploegsma and can be found here: gatsbyjs/gatsby#20083 (comment)
I created a sample repo that shows a working implementation of this workaround: https://github.com/rburgst/gatsby-rebuilding-problem

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

No branches or pull requests

1 participant