@@ -52,7 +52,7 @@ export async function bootstrapDevelopmentServer(configPath?: string) {
5252 `${ colors . cyanBright ( 'Reloading command(s) at ' ) } ${ colors . yellowBright ( path ) } ` ,
5353 ) ;
5454 await buildAndStart ( cwd , true ) ;
55- ps . stdin . write ( `COMMANDKIT_EVENT=reload-commands|${ path } ` ) ;
55+ ps . stdin . write ( `COMMANDKIT_EVENT=reload-commands|${ path } \n ` ) ;
5656 return true ;
5757 }
5858
@@ -61,7 +61,7 @@ export async function bootstrapDevelopmentServer(configPath?: string) {
6161 `${ colors . cyanBright ( 'Reloading event(s) at ' ) } ${ colors . yellowBright ( path ) } ` ,
6262 ) ;
6363 await buildAndStart ( cwd , true ) ;
64- ps . stdin . write ( `COMMANDKIT_EVENT=reload-events|${ path } ` ) ;
64+ ps . stdin . write ( `COMMANDKIT_EVENT=reload-events|${ path } \n ` ) ;
6565 return true ;
6666 }
6767
@@ -70,7 +70,7 @@ export async function bootstrapDevelopmentServer(configPath?: string) {
7070 `${ colors . cyanBright ( 'Reloading locale(s) at ' ) } ${ colors . yellowBright ( path ) } ` ,
7171 ) ;
7272 await buildAndStart ( cwd , true ) ;
73- ps . stdin . write ( `COMMANDKIT_EVENT=reload-locales|${ path } ` ) ;
73+ ps . stdin . write ( `COMMANDKIT_EVENT=reload-locales|${ path } \n ` ) ;
7474 return true ;
7575 }
7676
@@ -97,15 +97,15 @@ export async function bootstrapDevelopmentServer(configPath?: string) {
9797 break ;
9898 case 'rc' :
9999 console . log ( `Received reload commands command, reloading...` ) ;
100- ps ?. stdin . write ( `COMMANDKIT_EVENT=reload-commands` ) ;
100+ ps ?. stdin . write ( `COMMANDKIT_EVENT=reload-commands\n ` ) ;
101101 break ;
102102 case 're' :
103103 console . log ( `Received reload events command, reloading...` ) ;
104- ps ?. stdin . write ( `COMMANDKIT_EVENT=reload-events` ) ;
104+ ps ?. stdin . write ( `COMMANDKIT_EVENT=reload-events\n ` ) ;
105105 break ;
106106 case 'rl' :
107107 console . log ( `Received reload locales command, reloading...` ) ;
108- ps ?. stdin . write ( `COMMANDKIT_EVENT=reload-locales` ) ;
108+ ps ?. stdin . write ( `COMMANDKIT_EVENT=reload-locales\n ` ) ;
109109 break ;
110110 }
111111 } ) ;
0 commit comments