Open Ctrlmonster opened 3 weeks ago
What is an example of a setup that requires a reload?
From my perception the Triplex View Updates similarly to hmr in the browser dev environment. So it just happens to be necessary sometimes. I'll watch out for specifics.
Correct yeah. Let us know specifics if it's failing for a reason if it's something on our end we can fix it.
I think it's more about giving the user Tools for reproducing errors that might be on their end. I.e. today I had some bad effect setups that were causing an error (the hmr state was garbo at that point) and I was triggering them through the props panel. But everytime it happened I had no way to quickly redo the steps in Triplex. I first had to close the window and reopen the component.
I'll keep my eyes open for things potentially on Triplex end too.
Ah yeah fair. Tbh in the standalone app you can hard refresh the whole scene. We can add the same for vs code.
You can accomplish this right now through the command palette: Developer: Reload Webviews
.
I'm finding myself having to re-open Triplex Scene windows inside the VSCode extension a lot (i.e. because I'm dealing with HMR issues or similar). Having a shortcut to just re-start the window when necessary would be nice.