Closed Flaflo closed 3 years ago
Hi @Flaflo
A new tab should open only when you start a different project from the one you were developing before. If you just rebuild the same project, there shouldn't be any new tabs.
Also, you can use --hide-dashboard
option to not open any tabs altogether.
Weill if I just re-run the project a new tab opens, and its not just me having this problem.
Can you describe your exact steps? Maybe I'm missing something.
What I tried to do was:
1) Start livesharp
2) Build project
3) Run
4) Two tabs open up, LiveSharp Dashboard and the project itself
5) Stop the project
6) Full rebuild
7) Run again
8) One tab opens up, and it's the project one
Also, what LiveSharp Server version are you on?
We do exactly your steps described, but sometimes the tab livesharp opens and the connections times out and it opens another tab on another localhost port
I can see similar behavior @ionoy - and the --hide-dashboard
does not work for me (at all).
I am using Server 1.7.2.0
Ah, I see you released a new version of the Server @ionoy - it seems the issue is now fixed for me with the --hide-dashboard
problem.
Will need to test more on my side.
Thanks!
Hey @ionoy ! I've noticed a similar behaviour on a Blazor WASM + ASP.NET WebAPI project. Running the two at the same time, both with LiveSharp enabled, upon refreshing the tab containing the Blazor WASM project, a new LiveSharp Dashboard opens for the Blazor WASM project.
Steps:
This was on the latest public build. I will be testing later today on the latest alpha, to see if the behaviour still persists.
Can confirm, this is no longer the case on 2.0.4-alpha.
LiveSharp opens a lot of tabs. This is really redudant, why does it not preserve one tab for one project. Everytime I rebuild it, a new tab is spawned which is really annoying.
Is there anything I can do about it?
Thanks :)