Last active
April 8, 2016 04:20
-
-
Save jdx/1b2dde81bcef2a7e3d25d7535c8f14f2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
let dns = require('dns'); | |
setInterval(() => { | |
dns.lookup('api.heroku.com', err => { | |
if (err) console.error(`XXXXXXXXXXXXX\nERROR: ${err}\nXXXXXXXXXXXXXXX`); | |
else process.stdout.write('.'); | |
}); | |
}, 200); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment