Unsolved Ui app Load game at each change or a live solution ?

Discussion in 'Mod Support' started by Chat's7, Oct 19, 2025 at 7:33 PM.

  1. Chat's7

    Chat's7
    Expand Collapse

    Joined:
    May 21, 2014
    Messages:
    154
    Hello,



    I am currently developing an app for the UI, but I have to load the game every time I make a change in the HTML, CSS, or JS to see if it works for me or not. This takes an extremely long time, even when loading the default empty map.



    How do you developers view your changes in real time?

    Thanks !
     
  2. The Stig Is A Spy

    The Stig Is A Spy
    Expand Collapse

    Joined:
    Apr 11, 2018
    Messages:
    271
    There's a keybind to reload the UI (F5 by default, but it can be rebound). That shouldn't take more than a few seconds.
     
  3. Chat's7

    Chat's7
    Expand Collapse

    Joined:
    May 21, 2014
    Messages:
    154
    I have tried thousands of times, even with a console message to verify that the script reloads correctly, but it never changes the appearance of the UI or its functions.
     
  4. The Stig Is A Spy

    The Stig Is A Spy
    Expand Collapse

    Joined:
    Apr 11, 2018
    Messages:
    271
    I'm not an export on UI apps by any means, but it's possible that the functions for allowing the app to be properly reloaded are either improperly set up or missing altogether.
    The only thing I can suggest is to take a look at the vanilla apps, particularly the newer ones that use Vue (e.g. replay, drag tree lights, drift score), to see how they handle the UI being reloaded.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice