File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export async function main(mainOpts: MainOptions): Promise<void> {
2525
2626 // Running in a child process
2727 if ( process . send ) {
28- console . log ( c . gray ( versions ( mainOpts ) . join ( " · " ) ) ) ;
28+ console . log ( c . gray ( [ ... versions ( mainOpts ) , cliOpts . prod ? "prod" : "dev" ] . join ( " · " ) ) ) ;
2929 setupProcessErrorHandlers ( ) ;
3030 await cliServe ( cliOpts ) ;
3131 return ;
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export async function cliServe(cliOpts: CLIOptions): Promise<void> {
4747 printInfo ( cliOpts , loaded ) ;
4848 const server = ( globalThis . __srvx__ = srvxServe ( {
4949 ...serverOptions ,
50- gracefulShutdown : cliOpts . prod ,
50+ gracefulShutdown : ! ! cliOpts . prod ,
5151 port : cliOpts . port ?? serverOptions . port ,
5252 hostname : cliOpts . hostname ?? cliOpts . host ?? serverOptions . hostname ,
5353 tls : cliOpts . tls ? { cert : cliOpts . cert , key : cliOpts . key } : undefined ,
You can’t perform that action at this time.
0 commit comments