Skip to content

Hooks: distinguish sync #2941

Open
Open
@jampy

Description

@jampy

The documentation states...

start:sync:[name], stop:sync:[name], error:sync:[name], restart:sync:[name], before:initialSync:[name], after:initialSync:[name], error:initialSync:[name]: executed while DevSpace syncs files with dev.sync. [name] can be replaced with the config name of a sync configuration or * to match all.

However, I do not see a way to a specify a name in the file sync config.

Having more than one dev.app.sync[] entry the "before:initialSync:*" hook is started for each entry, but I do not see a way to detect the sync entry for which a specific hook call is executed.

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