Server Framework module hot reloading?

@mofirouz I appreciate your perspective and understand the technical challenges related to implementing hot-reloading in Nakama. As a platform tailored for developers using Lau, Go, and TS/JS, it’s surprising that hot-reloading isn’t readily available, especially considering the convenience it brings to server-side code development.

The majority of modern application, web, and game development environments consider hot-reloading an essential feature. It significantly enhances productivity by facilitating rapid iterations and testing, making it highly desirable for server-side game code development.

Colyseus, for instance, offers hot-reloading for single nodes: Dev Mode - Colyseus Multiplayer Framework. They manage state effectively and can restore room sessions during reloads in dev mode.

It’s important to emphasize that the objective of hot-reloading isn’t to support production functionality but to streamline local software development. Its potential to ease the development process is invaluable, especially in the context of server-side multiplayer games.

The need to recompile the Docker container with every minor change is burdensome and arguably disrupts the smooth development experience.

Given Nakama’s potential and strong capabilities, it’s disappointing that the lack of this feature may hinder its appeal for developers.

1 Like