-
Notifications
You must be signed in to change notification settings - Fork 843
Open
Labels
area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationarea-dashboardarea-orchestrator
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
I love the addition of WithLifetime in the new version of Aspire, but am a bit surprised it's limited to container-based resources. I would love to use it with other things, e.g. Node/Npm resources. There's really not much point in having to restart npm watch on every Aspire startup for example. I'm also working on a custom resource which would manage locally-run Azurite instance, which would extend ExecutableResource and would also benefit from not being restarted every time we stop/start the App Host.
Describe the solution you'd like
I think adding support for WithLifetime to ExecutableResource would make a lot of sense.
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationarea-dashboardarea-orchestrator