Force Gmod to "update" it's changed files.

So, I’ve been wondering if there was a way to make Gmod “update” files that were changed. Such as if I made a code change in a lua file, or removed an addon etc. Is this possible? Because I’m tired of having to restart Gmod to see small changes.
Thanks for your help.

Removing files I’m not sure, my knowledge on the subject is fairly limited - however:

Long as the file/folder (I think folder, not sure might just be file) was loaded in addons when the server restarted you may do this

Example:

garrysmod/addons/cakemod/lua/autorun/server/sexypie.lua

then use

lua_openscript autorun/server/sexypie.lua

in the server console (RCON) to run through that files code. This might break with some addons etc, but most of the time it’s fine for little things :slight_smile: