[Bug] The packager status indicator shows inconsistent state
🐛 What is the bug? How can we reproduce it?
The package indicator changes it state independently of the actual packager state, specifically when the packager is running and one of these 3 actions are performed:
- A new project is created
- An existing project is added to the workspace
- The stop packager command is used, and the user select a project folder not running a packager
In this 3 situations the Packager status indicator reset to the Packager Stopped status, while the packager is still running.
Steps to reproduce:
- Create a project
- Start the packager for that project
- Create a new project without stopping the packager
Other case, to reproduce:
- Create 2 projects
- Start the packager for the first project
- Execute the 'React Native: Stop Packager'
- On the quickpick select the second project (the one not running)
Expected behaviour
The expected behaviour is that the Packager indicator actually reflect the packager status, in the given example when creating a project the indicator should not change state since the packager is still running. Ideally the indicator should track the status of each packager considering that each project could be running one instance of it.
Debug output
React Native output channel
Image show React Native Packager is still running but packager indicator has reset to the Packager Stopped statusEnvironment
- React Native Tools extension version: v1.13.0
Hey @serhergz , thanks for reaching us. Will fix this issue currently, any update will comment here, thank you!
Linked in enhancement https://github.com/microsoft/vscode-react-native/issues/2144.
@serhergz Just want to confirm which OS have you used?
@serhergz Just want to confirm which OS have you used?
Thanks for the quick reply, This have been observed in MacOS Sonoma 14.4.1
@serhergz Just want to confirm which OS have you used?
Thanks for the quick reply, This have been observed in MacOS Sonoma 14.4.1
Got it, will look into this.