-
-
Notifications
You must be signed in to change notification settings - Fork 687
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
TGUI Dev Server is relatively unstable #12345
Comments
Clearing the yarn cache resolved the issue |
Nevermind, it's not working. I either get a crash, or when it does connect it doesn't perform hot reloads anymore and requires the user to manually press F5 in order to get a refresh. This happens whether the TGUI dev-server is launched before or after the game has been launched. I've also noticed that it no longer refreshes the UI when it first builds. It doesn't seem like it's actually connecting to the game at all. I believe the crashes were when it did connect, and when it doesn't connect then it runs fine but doesn't trigger HMR. Pressing F5 does show the backend/update stats though when its active. |
It seems like performing an action which requires a full page reload works (Such as adding a new SCSS file), but the individual HMR isn't working. |
Okay, it just randomly started performing hot module reloads after like an hour of development with it (I performed a full restart). I'd like for someone else to confirm if they are getting weird behaviours with the TGUI dev server. It's extremely flakey, it seems like it works for 10 minutes then the next 10 minutes it stops working. |
When it crashes this is the error thrown:
|
Seems to be working again after some time |
This is still an issue. When I first launch, I often have issues with the TGUI server applying hot reloads which forces the use of F5 for the first 10-15 minutes before it starts working. Sometimes when I start, the TGUI dev-server just instantly crashes on launch though instead with the error I posted before. |
Boot up the local server.
Launch the TGUI dev server.
The server compiles successfully, but then crashes when the socket tries to connect.
It builds and doesn't throw an error if ran while the game isn't open.
The text was updated successfully, but these errors were encountered: