Skip to content

Detect watch being executed from a middleware #1568

Open
@alendit

Description

@alendit

A middleware might wish to implement a different behavaiour based on the information if the code is being run from an editor of as a part of a watch. Currently, I don't see any obvious way to solve an issue like nikitakit/hydrogen-python#25.

Am I missing something, or do the call to middleware.execute could use so optional parameter indicating that it's called from a watch?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions