property
Serve.HostnamePortServeOptions.id
id?: null | string
Uniquely identify a server instance with an ID
When bun is started with the --hot flag:
Bun uses this string to hot reload the server without interrupting pending requests or websockets. If not provided, a value is generated. To disable hot reloading, set this value to null.
When bun is not started with the --hot flag:
This string has no effect.