RimWorld Hot Reload
A simple mod for hot reloading in RimWorld.
[b]Supports Types:[/b]
[list]
[*] Textures reloading
[*] Audio reloading
[*] Def reloading
[/list]
[b]Supports Call Methods:[/b]
[list]
[*] Manually trigger (Debug Actions > Mods > Hot Reload)
[*] File System Watcher (auto reload on file change)
[*] HTTP API (POST /hot-reload)
[/list]
[b]Usage:[/b]
[list]
[*] Install the mod.
[*] Open your mod folder. (Should be "Mods/{YOUR_MOD}/")
[*] Create a "hotReload.json" file with the following content:
{
"enabled": true,
"assets": true,
"defs": true,
"watch": true,
"api": true
}
[*] Modify your mod files as needed.
[list]
[*] [i]enabled[/i]: Enable or disable hot reload.
[*] [i]assets[/i]: Enable or disable assets reloading.
[*] [i]defs[/i]: Enable or disable defs reloading.
[*] [i]watch[/i]: Enable or disable file system watcher.
[*] [i]api[/i]: Enable or disable HTTP API.
[/list]
[*] Start RimWorld, you can open console to check more info.
[/list]
[url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fgithub.com%2Fxiao-e-yun%2FRimWorldHotReload]Github Repository[/url][github.com]