Skip to content

watchtask callback not firing for the very first time #1765

@Deadpool-82

Description

@Deadpool-82

I have written a custom task as a callback for watch(grunt-contrib-watch).

During the very first time when i edit and save the file, the custom task is not called. But from the second time the custom task is getting called correctly.

Also facing such callback anomalies during watch persisting for long time.

Debugged some files but doesn't get a clear picture about that.

grunt-contrib-watch: "1.1.0"
grunt : "1.6.1"

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