Hi everyone, I’m currently trying to build a Gatsby front-end and Ghost CMS backend deployment locally (Mac OS). I’ve spun-up the ghost instance and I’ve also configured everything on the Gatsby side of things using instructions from here: GitHub - TryGhost/gatsby-starter-ghost: A starter template to build lightning fast websites with Ghost & Gatsby. Everything seems to be fine and the ghost CMS content is stored in GraphQL accordingly. However, whenever I make changes and save them on the Ghost backend, the changes don’t get propagated to the front-end until I restart the GatsbyJS service.
Is this what is expected or is there a way to ensure that the data is transferred to the graphQL DB and subsequently rendered on the front-end?
Steps to replicate the issue:
- ghost start
- gatsby new gatsby-starter-ghost GitHub - TryGhost/gatsby-starter-ghost: A starter template to build lightning fast websites with Ghost & Gatsby
- Update the ghost.json file: {
“development”: {
“apiUrl”: “http://localhost:2368”,
“contentApiKey”: “”
},
“production”: {
“apiUrl”: “http://localhost:2368”,
“contentApiKey”: “”
}
} - cd gatsby-starter-ghost
- gatsby develop
Thanks for your help!