Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Triplex "Reload Window Button" #232

Open
Ctrlmonster opened this issue Oct 30, 2024 · 6 comments
Open

Triplex "Reload Window Button" #232

Ctrlmonster opened this issue Oct 30, 2024 · 6 comments

Comments

@Ctrlmonster
Copy link

Ctrlmonster commented Oct 30, 2024

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.

@krispya
Copy link
Collaborator

krispya commented Oct 30, 2024

What is an example of a setup that requires a reload?

@Ctrlmonster
Copy link
Author

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.

@itsdouges
Copy link
Collaborator

Correct yeah. Let us know specifics if it's failing for a reason if it's something on our end we can fix it.

@Ctrlmonster
Copy link
Author

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.

@itsdouges
Copy link
Collaborator

Ah yeah fair. Tbh in the standalone app you can hard refresh the whole scene. We can add the same for vs code.

@itsdouges
Copy link
Collaborator

You can accomplish this right now through the command palette: Developer: Reload Webviews.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants