Does anyone have a turborepo template running (with preview functionality)? Here's my setup, based on the turborepo basic template combined with the payload preview template: https://github.com/remy90/turborepo-payload-starter
I found a thread on GitHub suggesting using wait-on but I haven't successfully gotten it to work, as it looks like there is no way to depend on a 'persistent' server.
I posted something similar in the turborepo discord and was laughed out for having the webapp build depend on the payload server running in the first place. In our case, its fetching pages in getStaticPaths in[slug.tsx], which I don't see a way around)