Inside notifier.js you write:
// as you don't want to send emails while development or testing
and then you disable sending for NODE_ENV = test or development.
I think it isn't a good idea to disable sending in development mode and if you do so you should mention this in big red letters inside the docs as people like me spend hours to figure out why no e-mails arive.
I would suggest adding a dry-run config option and default it to true. So people can decide.
Hello,
thank you for creating this module.
Inside notifier.js you write: // as you don't want to send emails while development or testing and then you disable sending for NODE_ENV = test or development.
I think it isn't a good idea to disable sending in development mode and if you do so you should mention this in big red letters inside the docs as people like me spend hours to figure out why no e-mails arive.
I would suggest adding a dry-run config option and default it to true. So people can decide.