hubot-heroku-keepalive
hubot-heroku-keepalive copied to clipboard
Don't be as annoying in development
trafficstars
If you have this in your external-scripts.json in development without HUBOT_HEROKU_KEEPALIVE_URL or HEROKU_URL, it will log a warning every startup which is kind of annoying.
I'm open to suggestions about shushing it. Some ideas:
- look at NODE_ENV, and don't warn during development
- look at a new environment variable to not warn
cc https://github.com/github/generator-hubot/issues/25
also cc https://github.com/github/hubot/issues/827 @mal since it's a bit of a tangent.
Another idea I had for this is to support setting HUBOT_HEROKU_KEEPALIVE_URL=false to disable. That way, if it's unset, it'll prompt you to configure it with a real URL or false.