File tree 1 file changed +4
-14
lines changed
1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ object LocalLambdaHost {
283
283
284
284
}
285
285
286
- lazy val lambdaProcess = lambdaScript
286
+ val lambdaProcess = lambdaScript
287
287
.map(script =>
288
288
println(
289
289
s " ${CYAN }Running lambda script: $script ${RESET }"
@@ -301,7 +301,9 @@ object LocalLambdaHost {
301
301
" AWS_LAMBDA_FUNCTION_VERSION" -> " 0"
302
302
),
303
303
mergeErrIntoOut = true ,
304
- destroyOnExit = true
304
+ destroyOnExit = true ,
305
+ stdout = os.Inherit ,
306
+ stderr = os.Inherit
305
307
)
306
308
)
307
309
)
@@ -312,18 +314,6 @@ object LocalLambdaHost {
312
314
None
313
315
}
314
316
315
- val lambdaProcessThread =
316
- Thread .ofVirtual().start {
317
- new Runnable {
318
- override def run (): Unit = {
319
- lambdaProcess.map { p =>
320
- p.stdout.transferTo(System .out)
321
- }
322
-
323
- }
324
- }
325
- }
326
-
327
317
ready = true
328
318
println(s " ${CYAN }Ready. ${RESET }" )
329
319
You can’t perform that action at this time.
0 commit comments