Skip to content
This repository was archived by the owner on Jul 17, 2022. It is now read-only.

Add ability to disable custom notification individually#98

Open
stevebrownlee wants to merge 1 commit intodylang:masterfrom
stevebrownlee:srb-disabled-custom
Open

Add ability to disable custom notification individually#98
stevebrownlee wants to merge 1 commit intodylang:masterfrom
stevebrownlee:srb-disabled-custom

Conversation

@stevebrownlee
Copy link

When working in a team that has custom notifications for some tasks, e.g.

grunt.registerTask("purge", ["clean", "notify:cleaned"]);
grunt.registerTask("default", ["lint", "style", "copy", "notify:build"]);

Some team members may not want to see some, or all, notifications, so this adds the ability to turn off notifications individually.

module.exports = {
  cleaned: {
    options: {
      enabled: false,
      title: "My Project",
      message: "Project assets cleaned"
    }
  },
  build: {
    options: {
      enabled: true,
      title: "My Project",
      message: "Project successfully built"
    }
  }
};

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant