deflinhec
deflinhec
[lua 5.1 open package](https://www.lua.org/source/5.1/loadlib.c.html#luaopen_package) treats `.` as `/`. So `require("base.utils")` should equivalent to `require("base/utils")`. 
I was porting some lua files from different project into Nakama module directory and errors shown right after server restart. ``` {"level":"info","ts":"2021-09-02T16:33:24.755Z","caller":"server/runtime_lua.go:111","msg":"Initialising Lua runtime provider","path":"data/modules"} {"level":"error","ts":"2021-09-02T16:33:24.766Z","caller":"server/runtime_lua.go:1955","msg":"Could not complete runtime invocation","error":"data/modules/lobby/rpc.lua:15:...
Any updates with this PR?
It's done with final PR #966. I've tested with some of my scripts. It would be great if someone else can test it also, just for making sure this feature...
I'd create a PR for lua hot reload, for runtime match and rpc. Not so sure about how typescript perform a hot reload.
In the earlier PR I didn't handle lua hot reload properly. It only affect to rpc runtime and matches which creates after the hot reload. The newer PR now takes...
> @deflinhec would this hot reload work for typescript modules as well? Nope, this PR is only for lua.
By the way, if needed, I can also provide a PR of pushing image to Github Container Registry, which can then pull from `ghcr.io/heroiclabs/nakama`.
I think this is related to [yuin/gopher-lua](https://github.com/yuin/gopher-lua), not specific to Nakama Server Framework. According to [yuin/gopher-lua#miscellaneous-notes](https://github.com/yuin/gopher-lua#miscellaneous-notes) there are slightly differences between [yuin/gopher-lua](https://github.com/yuin/gopher-lua) and `lua` with the `collectgarbage` method. Just a...