System Signal to hot reload server runtime

While developing the runtime code, I often have to reload nakama server and it is a long process since it is executed within a docker environment. I would like to know if there is a special system to hot reload all runetimes from the modules directory? Having something like:

killall -HUP nakama

to hot reload would be nice. thanks

+1 vote for a hot reload mechanism

+1 vote for a hot reload mechanism

is this a go/Lua related issue?

in my JS/TS runtime i have the following watcher (defined in package.json) which restarts the nakama docker:

    "build": "rollup -c",
    "watch": "rollup -c -w --watch.onEnd \"docker compose restart nakama\" --watch.buildDelay 2",

unfortunally, doing so invalidates all auth tokens (which is why i modified nakama’s core for me, to get rid of that in-memory token store)

1 Like