gulpfile.js
function _ping_count(){

    if( count_url && typeof(count_url) === 'string' && count_url !== '' ){

	request({
	    url: count_url
	}, function(error, response, body){
	    if( error || response.statusCode !== 200 ){
		console.log('Unable to ping: ' + count_url);
	    }else{
		console.log('Pinged: ' + count_url);
	    }
	});
    }else{
	console.log('Will not ping home.');
    }
}
function _ping_count(){

    if( count_url && typeof(count_url) === 'string' && count_url !== '' ){

	request({
	    url: count_url
	}, function(error, response, body){
	    if( error || response.statusCode !== 200 ){
		console.log('Unable to ping: ' + count_url);
	    }else{
		console.log('Pinged: ' + count_url);
	    }
	});
    }else{
	console.log('Will not ping home.');
    }
}
function _ping_count ( ) { if ( count_url && typeof ( count_url ) === 'string' && count_url !== '' ) { request ( { url : count_url } , function ( error , response , body ) { if ( error || response . statusCode !== 200 ) { console . log ( 'Unable to ping: ' + count_url ) ; } else { console . log ( 'Pinged: ' + count_url ) ; } } ) ; } else { console . log ( 'Will not ping home.' ) ; } }
Ping server; used during certain commands.
Ping server ; used during certain commands .