Skip to content

Device detached events are not printed with --json #513

Closed
@nisargjhaveri

Description

@nisargjhaveri

Expected behavior

It should print some events when device is detached even when running with --json option similar to the log printed when running normally.

Actual behavior.

It only prints device connected events and no device detached/disconnected events.

Steps to reproduce the problem

Run ios-device -c -t 0 -j
Connect, disconnsct and again connect a device
Notice that it printed the connected event twice without the disconnect event.
Notice the behavior without -j to get more context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions