Skip to content

Problem with ending of process when developing locally #260

@alexbchr

Description

@alexbchr

I use yarn functions-framework --target=handler to test a simple function returning a fooBar text.

The Problem

Everything works fine with functions-framework to test the function. However, as soon as I try to shut down the process using CTRL+C in my terminal (using ZSH and VS Code), I get the following error:

Received SIGINT

If I try to end the process multiple times, I get this same error again and again. After some time (like a minute or two), the process ends by itself.

Expected Behavior

The process should end as soon as I CTRL+C, without any SIGINT error.

UPDATE: The comment here seems to describe the exact same issue

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