craftcms / gatsby-helper

Craft CMS helper plugin for Gatsby.
https://plugins.craftcms.com/gatsby-helper
MIT License
15 stars 6 forks source link

Updating to 1.0.6 breaks incremental builds #16

Closed emson-digital closed 3 years ago

emson-digital commented 3 years ago

Description

As stated in the title. Gatsby is no longer seeing updated content in the new update. Reverting to 1.0.5 resolves this.

Steps to reproduce

  1. Make edit in CMS
  2. Gatsby doesn't see any changes

1.0.6 image

1.0.5 image

Additional info

andris-sevcenko commented 3 years ago

Is this on a multisite build?

emson-digital commented 3 years ago

Yes, though only one site has entries assigned to it currently.

andris-sevcenko commented 3 years ago

Is that site the primary site? Also, have you set the enabledSites setting to anything for the gatsby-source-craft plugin?

emson-digital commented 3 years ago

Yes, it is the primary site, have not set enabled sites in the gatsby source plugin.

emson-digital commented 3 years ago

I notice today that there is a new gatsby-source-craft plugin that requires 1.0.6 that plugin was not updated after updating the CMS helper. I don't know if there was anything explicitly stated on 1.0.6 that made us aware of the Gatsby plugin update. I can assume that now that I see that, I will need to update the plugin in Gatsby for these to work together as expected? I will update both of these today sometime and get back to you.

andris-sevcenko commented 3 years ago

Sorry, I didn't get around to it today. Theoretically, if you have not set the enabled sites, everything on the primary site should still have been sourced. I'll figure this out tomorrow and will also get back to you!

andris-sevcenko commented 3 years ago

Found the bug, working on it!

andris-sevcenko commented 3 years ago

Alright, just cut the 1.0.7 release that should fix this!