Skip to content

Services: Shut down services that were deleted between watch iterations - #489

Merged
aomarks merged 1 commit into
servicefrom
service.11
Oct 29, 2022
Merged

Services: Shut down services that were deleted between watch iterations#489
aomarks merged 1 commit into
servicefrom
service.11

Conversation

@aomarks

@aomarks aomarks commented Oct 28, 2022

Copy link
Copy Markdown
Member

Handles the case where we're in watch mode, and a service was entirely deleted from the graph. Previously it would keep running, but now we notice it and shut it down before starting the next execution. The same goes for scripts that used to be "directly invoked" and are now no longer (since those might not need to run at all).

Part of #33

@aomarks
aomarks requested a review from justinfagnani October 28, 2022 23:33
Comment thread src/executor.ts
@aomarks
aomarks merged commit a3be5aa into service Oct 29, 2022
@aomarks
aomarks deleted the service.11 branch October 29, 2022 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants