File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -168,6 +168,10 @@ class DevSupervisor implements WorkerRuntime {
168168 ) ;
169169
170170 await Promise . allSettled ( stopPromises ) ;
171+
172+ // Must exit explicitly since registering a custom SIGINT handler
173+ // overrides Node's default process termination behavior.
174+ process . exit ( 0 ) ;
171175 } ;
172176
173177 async shutdown ( ) : Promise < void > {
@@ -224,7 +228,7 @@ class DevSupervisor implements WorkerRuntime {
224228 env : {
225229 ...process . env ,
226230 WATCHDOG_PARENT_PID : process . pid . toString ( ) ,
227- WATCHDOG_API_URL : this . options . client . apiURL ,
231+ WATCHDOG_API_URL : this . config ?. engineUrl ?? this . options . client . apiURL ,
228232 WATCHDOG_API_KEY : this . options . client . accessToken ?? "" ,
229233 WATCHDOG_ACTIVE_RUNS : this . activeRunsPath ,
230234 WATCHDOG_PID_FILE : this . watchdogPidPath ,
You can’t perform that action at this time.
0 commit comments