readme: document hot reload

This commit is contained in:
Simon Ser 2020-01-08 12:01:48 +01:00
parent ad1d2ee7f4
commit 04199eb121
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -41,6 +41,12 @@ API:
* `koushin.set_route(method, path, f)`: register a new HTTP route, `f` will be
called with the HTTP context
## Hot reload
Lua plugins and templates can be reloaded by sending `SIGUSR1` to koushin.
killall -USR1 koushin
## Contributing
Send patches on the [mailing list], report bugs on the [issue tracker].