inspectdev / inspect-issues

Issue tracker for Inspect
22 stars 2 forks source link

Inspect sometimes does not pick up PWA instances #63

Closed yannbf closed 3 years ago

yannbf commented 3 years ago

Sometimes (maybe 40% of the times?), inspect doesn't pick up the connection when I open my PWA. Also, when it does pick up the connection and I force close the app, it's not cleaned up, and if I refresh inspect, it still doesn't detect that there's no connection anymore.

Steps to Reproduce:

Follow the video: https://streamable.com/ph95xg

auchenberg commented 3 years ago

@yannbf Thanks for the report! Inspect queries for devices and pages every 5th second, so you won't be able to see pages and apps instantly appear or disspear. What happens if you lets say wait 10sec?

yannbf commented 3 years ago

Hey @auchenberg, I reproduced this scenario and let inspect open for a minute. Nothing happened. Tried putting the app in background then bringing it back, still nothing.

After that, I force closed the app and opened again, and it was picked up instantly. Give it a try yourself, maybe it helps!

auchenberg commented 3 years ago

@yannbf Alrighty, thanks for the example link. I will try to reproduce.

auchenberg commented 3 years ago

This will be fixed in the next release. Thanks for reporting @yannbf !