How to have multiple people working on a theme app extension at the same time?

We are creating a Shopify theme app extension and if more than one developer is running the local server ( with the command: shopify app dev) then who ever was the last person to run the command overwrites any of the changes the other developers have done as it seems there isn’t a local copy of the app extension but only single pushed development version of the extension. How can we have more than one developer making changes to the app extension without them conflicting with each other?

Hi Jeffstaq,

Does regular git version control not work for your configuration?

We are using GitHub, when each developer needs to test their changes they
run their local server but it appears the Shopify cli pushes the changes to
the Dev store as well and when other devs run their local server it isn’t
showing their local changes but the changes from the Dev store of the
person who ran their local server last.

Maybe we aren’t testing our local changes correctly, what is the correct process to test app theme extensions locally? We are using the steps from step 2 from here: https://shopify.dev/docs/apps/online-store/theme-app-extensions/getting-started
A local server is started but its also pushing all the changes to the dev store, and if any other devs start a local server, the last person to start it will push all their changes to the other devs local servers that are running. So the last person to run their server is the only person to have changes showing. Does the tunnel that is created support multiple people on the same ip?

We were able to figure out a work around, we turned off:

DEVELOPMENT STORE PREVIEW

Test the working draft of this extension in development stores. Preview is disabled.

in the Shopify partners page. Now we test the changes locally, there seems to be an issue where if you refresh the page it will pull the published version but just saving a file will cause the cli to overwrite the publish version again.

The workaround doesn’t work if multiple developers are working on schema changes because only the published app settings show up in the editor. How can we have multiple developers run the local server and still be able to use the editor? (The editor makes you think its only editing your local computers app extension and page by the computer name in the top left, but it only uses the published app’s schema settings)