Autorun-rs
Autorun-rs copied to clipboard
Be able to refresh a script continuously
be able to have an automatic refresh on a designated file, useful when you develop a script and you don't want to go back to the console every time.
the original idea came from a member on the discord and I found it interesting : [](https://zupimages.net/up/22/16/wij2.png)
Can you be more specific? Like hotreloading? And would this be for lua_openscript files or for like plugins?
If so, plugins already pretty much 'hot reload' in that their files are accessed dynamically and aren't cached or anything, so you could always edit a hook.lua
while in a server and it'll change properly.
here is a description : I load a lua file via the lua_openscript_cl command and I have an option to refresh it continuously (a bit like the lua refresh does)
it avoids having to reload the script by retyping lua_openscript_cl
You have a couple options.
- Write a script that automatically hot-reloads for you
- Use the up arrow key to quickly get the command without typing it