Source control - main branch does not reflect merged changes in editor

After creating a branch and merging that branch, the editor is not reflecting the updated main branch. Changes only appear after publishing the app.
The docs mention, on step 6, that after merging, changes appear after a few seconds. Protect apps with Source Control | Retool Docs

I expect changes merged onto main to be reflected in the editor (after switching back to the main branch) without having to publish the changes.

Am I doing something wrong?

Hello @Matias_Mariani ,

Based on the information you provided, it seems like there might be a syncing issue between the Retool app and your Git repository. Typically, updates in the main branch should be visible in the Retool editor once they're merged and you have switched back to the main branch.

Here's a step-by-step guide to troubleshoot this issue:

  1. First, ensure you have correctly switched back to the main branch in the Retool editor.
  2. If the problem persists, the delay may be due to a slow network connection, an issue with syncing, a caching problem, or even a software glitch.
  3. Clear your browser cache, close and reopen your browser, or even restart your system to see if this resolves the issue.
  4. Check the configuration of the GitHub integration in Retool, to ensure everything is set up correctly.

If all these steps don't help and you still don't see the updates reflected even after a while, there may be a bug or problem specific to your instance.

-Brett

1 Like

Thank you!