Skip to content

Hot Reload causes server to not exit on first ctrl-c #1774

Closed
@jakemac53

Description

@jakemac53

I noticed when playing around with --hot-reload today that it is currently causing the server process to not exit when you send the first terminate signal.

Generally this is a sign that there are some stream listeners or web socket connections still open. These are typically cleaned up here https://github.com/dart-lang/build/blob/master/build_runner/lib/src/generate/watch_impl.dart#L307, so we probably need to add some more things to that.

Metadata

Metadata

Assignees

Labels

type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions