evangipson / evangipson/Interpreter
Figure out a more elegant solution to always re-loading required modules
Open
enhancement
question
- Dominant language
- C#
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
The whole point of this is to be able to change values on the fly, and to accomplish that, the `"require"` `LuaFunction` (created in the `ScriptService`, inside of the `ConfigureStandardLibraries()` method) will always re-load any module that is required.
It seems like a better strategy could be only re-load certain modules that are prone to change with some sort of flag, or maybe another argument provided to `require` that will tell the module loader to always reload it, and otherwise it will cache loaded modules.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.