You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today if you run a Node app (eg. ng serve) it seems to prematurely indicate "readiness" while it's still executing. Any output indicating "readiness" is highly variable in nature due to script customizations and frameworks.
// ng serve / watchvarangularClient=builder.AddNpmApp("client","./apps/client1","start");// something to run only after npm project readyvarotherThing=builder.AddNpmApp("otherThing","./apps/client2","start").WaitForWithMessage(angularClient,"bundle generation complete");
Alternative Designs
Risks
The text was updated successfully, but these errors were encountered:
Background and Motivation
If an Aspire
AppHost
needs to particular sequence involving a Node script, this can be problematic.Allow the state of a resource that is effectively a watch process without an exit to be affected by output text. The desired capability is similar to
problemMatcher
in VS Code tasks that define an "endsPattern"Today if you run a Node app (eg.
ng serve
) it seems to prematurely indicate "readiness" while it's still executing. Any output indicating "readiness" is highly variable in nature due to script customizations and frameworks.Proposed API
IResourceBuilder<T>
extensionWaitFor(IResourceBuilder<IResource> dependency, string message)
WaitForWithMessage(IResourceBuilder<IResource> dependency, string message)
Usage Examples
Alternative Designs
Risks
The text was updated successfully, but these errors were encountered: