infinitered / infinitered/reactotron

Reactotron keeps adding new connections with Live Reload

Open
#1,154 22 comments 4 reactions 0 assignees View on GitHub
bug :beetle:
Dominant language
TypeScript
Stars
15.6k
Forks
972
PR merge metrics
No merged PRs in 30d

Description

Enabling live reload in dev menu for a project keeps adding a new connections to reactotron without even clearing the old one. This is so annoying 😅and i don't know if it's supposed to be like that. It seems like a bug for me

## Screenshot
![image](https://user-images.githubusercontent.com/50556983/65544223-17e88d80-df13-11e9-9910-7ebe1255dbfa.png)

## Configuration
```js
.configure({ host: '192.168.1.20' })
.useReactNative({ overlay: false, })
.connect()
```

## Version
- Project: 3.7.1~4.0.1
- Application (Mac): 2.17.1

## Reproduction
Just connect your android device **(this happens only on android)**, enable live reload _(because hot reload sucks and doesn't work most of the time 😂)_. Now every time you save a change and it live reloads, reactotron will add a new connection.

## Expected Behavior
Reactotron stays in the same session, or at least if it has to create a new session, automatically switch to it and optionally remove the older one(s)

Contributor guide

Open the contributing guide

Research direction

Reproduce with an Android device using the shown .configure, .useReactNative, and .connect setup, then save changes with Live Reload enabled and observe Reactotron's connections. Done means reloads keep one session, or automatically select a newly created session while removing older connections as specified.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
desktop, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.