Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.

Master script is stand-alone and works as intended. Included script is an addition with code that you do not want to include in the master script - it is in development and you might be tweaking or rewriting parts. You make a change and you want to see if the change worked. It is not so much a "why would you want to", but a "is it at all possible to" question.I think the deeper question is why would you need to do this. I can't imagine the need to completely restart a script unless it's not designed correctly. Does the script load something on start that you later need to reload for example? Then I would have a bind to reload that data rather than restart the script. XY problem here perhaps?
Aaaha there we go. Thank you so very much.Oh, sorry! Thanks for the explanation Kaen.
Yes, it's still possible. Just "depends" on how much control you have over the main script file.
Basically, it works like this
[CODE lang="lua" title="Original"]local mymodule = require("mymodule")
-- I hate my module, let me reload it!
package.loaded["mymodule"] = nil
mymodule = require("mymodule")[/CODE]

