-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement fsnotify watchdog for gamemode .amx file to facilitate hot-reload #12
Comments
I'm thinking this can be done through the
I'm not sure what to do for output here, the build output is necessary for editor integration (problems panel in vscode) but the server output may also be useful, possibly dump it to a log in the package directory? Or output it to stderr so it's available if needed. |
I also need to experiment with signal codes and figure out if there's a signal that does not force the player to re-launch the game due to If that's possible, it would be even faster to restart the server and jump back to testing. I used to do this with SS somehow... |
Signal 11 (SIGSEGV) closes the server process without kicking players. The plan is to issue a |
Implemented in 1.6 release. |
https://github.com/fsnotify/fsnotify
If the gamemode .amx file changes and is not zero bytes, sampctl should issue a
gmx
command to the server's child process via stdin to restart the server to speed up the development cycle.The text was updated successfully, but these errors were encountered: