Skip to content

wasp-app-runner build: Wait until both builds are done before running them #3498

@cprecioso

Description

@cprecioso

Right now wasp-app-runner does (pseudo code):

parallel([
  series([ clientBuild, clientStart ]),
  series([ serverBuild, serverStart ])
])

This leads to the client usually being ready much sooner than the server, and the Vite message with the URLs being scrolled out by the server build logs.

I think it'd be much better to do:

series([
  parallel([ clientBuild, serverBuild ]),
  parallel([ clientStart, serverStart ])
])

So both sides start more or less at the same time.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions