Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

13
LINES

< > BotCompany Repo | #1021905 // Auto-Update Modules [formerly: "Auto-Reload"]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 1113K of libraries. Click here for Pure Java version (7615L/37K).

!7

cmodule2 AutoReloadButtons > DynPrintLogAndEnabled {
  sbool _startMinimized = true;
  
  start {
    dm_onSnippetTranspiled(voidfunc(S snippetID) {
      if (!enabled) ret;
      print("Snippet transpiled: " + snippetID);
      dm_reloadAllModulesWithSnippetID(snippetID);
    });
  }
}

Author comment

Began life as a copy of #1020070

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021905
Snippet name: Auto-Update Modules [formerly: "Auto-Reload"]
Eternal ID of this version: #1021905/9
Text MD5: 2649d1f7b7e2f52093f869dee8303d87
Transpilation MD5: 9bc1f35bc069e3e85daf8a5d47270d69
Author: stefan
Category: javax
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-12 05:14:23
Source code size: 291 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 362 / 535185
Version history: 8 change(s)
Referenced in: #1016478 - Stefan's OS v6
#1024932 - Stefan's OS v7 [LIVE]
#1026127 - Auto-Reload Eleu Modules On Server
#1026511 - Offer Adding All New Modules [dev.]
#1030826 - Auto-Update Modules With Delay
#1031320 - Stefan's OS v7 [backup before allowing dynamic main classes]