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

Discussion in 'Mod Support' started by Chat's7, Oct 19, 2025.

  1. Chat's7

    Chat's7
    Expand Collapse

    Joined:
    May 21, 2014
    Messages:
    155
    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:
    275
    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:
    155
    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:
    275
    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.
     
  5. SkyJoker

    SkyJoker
    Expand Collapse

    Joined:
    Apr 18, 2020
    Messages:
    2
    If you have tried F5 to reload UI, have you tried CTRL+L? It reloads LUA, since you mentioned about changing "functionality"
     
  6. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,483
    Open the developer tools with CTRL + U, go to the network tab and check "Disable cache". Then press F5.
     
    • Like Like x 2
  7. Chat's7

    Chat's7
    Expand Collapse

    Joined:
    May 21, 2014
    Messages:
    155
    Tks so much, it's incredibly easy now :)
     
  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