Skip to content

Services: Continue to show output of stale services during watch mode shutdown - #500

Merged
aomarks merged 1 commit into
servicefrom
service.15
Nov 1, 2022
Merged

Services: Continue to show output of stale services during watch mode shutdown#500
aomarks merged 1 commit into
servicefrom
service.15

Conversation

@aomarks

@aomarks aomarks commented Nov 1, 2022

Copy link
Copy Markdown
Member

Previously, if we were shutting down a service in watch mode because either its fingerprint changed, or it was removed from the script graph, then during the time the service was shutting down, we wouldn't display its stdout/stderr.

That was because we "detached" it before killing it, but detaching also includes removing the stdout/stderr listeners from the previous execution. It makes more sense to instead go through the existing abort process, and only detach when we are actually adopting a child into a new execution.

Part of #33

@aomarks
aomarks requested a review from justinfagnani November 1, 2022 19:24
@aomarks
aomarks merged commit a09a030 into service Nov 1, 2022
@aomarks
aomarks deleted the service.15 branch November 1, 2022 20:45
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