Skip to content

--tunnel flag prevents normal SIGINT behavior #32197

@ashtonjurgens

Description

@ashtonjurgens

Version: Deno 2.6.9

Passing the --tunnel flag prevents a SIGINT (Ctrl-C) from terminating the process. I have to follow it up with a Ctrl-\ to terminate.

Here's an instance of someone having the same problem:

Not sure if I should create a separate issue, but I'm experiencing the same if I try deno run --watch --tunnel entry.ts.
Hmmm actually it seems to restart on file changes, but if I try to interrupt with Cmd+C, looks like the actual server stops, doesn't respond to http requests anymore, but the deno process keeps running.

Works as expected without --tunnel

Originally posted by @phenome in #31540

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions