Skip to content

Callbacks #6

Open
Open
@orlin

Description

@orlin

I've started using watch-tree for workflow https://github.com/astrolet/precious/blob/master/Cakefile (the assets:watch task) and would like to pass a callback (as an optional third argument) to the event watcher, so things could be a bit more dynamic. Am I asking for the right thing - passing a callback / context to the callback? This could also solve the issue of possibly wanting to know (inside the callback) which is the event that is triggering it.

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