Document how to troubleshoot live preview

Created on 13 July 2021, over 3 years ago
Updated 25 August 2023, over 1 year ago

Problem/Motivation

I have a Drupal site using this module that is successfully pushing content updates to my Gatsby Cloud site. However, the Gatsby preview page does not refresh with the changes after saving. I have set the environment variable "ENABLE_GATSBY_REFRESH_ENDPOINT=true" in both the Preview and Build variables.

I am looking for ways to troubleshoot why the refresh is not occurring.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Version

2.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States gatorjoe

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States wweibel

    I am having a similar issue with Live Preview to a locally running Gatsby and with Lando Drupal. The refresh endpoint is not being called when a node is saved. Hitting the endpoint manually will trigger a refresh, but then the instance gets corrupted and I can not access any pages.

Production build 0.71.5 2024