Skip to content

[Net\serve]: When serving with Chrome parameters, 'serve' cannot be executed until the Chrome window is closed. #2210

@scifx

Description

@scifx

Summary

When serving with Chrome parameters, 'serve' cannot be executed until the Chrome window is closed."

Current Behavior

The server code waits for the Chrome process to be terminated after you use Chrome parameters. Unless you manually close the browser window, the server code cannot run. This is likely due to a lack of asynchronous execution, where Chrome blocks the server code.

example:

serve.chrome [
    GET "/"
    $[][
        "hello"
    ]
]

Expected Behavior

No response

Steps To Reproduce

No response

OS

windows 11,(maybe linux?)

Version

0.10.0 Arizona Bark ,0.984 (maybe all)

Anything else?

Perhaps asynchronous support should be considered.

Is there an existing issue for this?

  • I have searched the existing issues

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions