From dddeefd904426aa3464f22de0680d48859a36258 Mon Sep 17 00:00:00 2001 From: Ziya SARIKAYA Date: Wed, 19 Oct 2016 15:15:33 +0200 Subject: [PATCH] add comment for hacky stuff --- lib/consulr.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/consulr.js b/lib/consulr.js index e582b01..20f1227 100644 --- a/lib/consulr.js +++ b/lib/consulr.js @@ -64,6 +64,7 @@ class Consulr extends EventEmitter { let lastIndex = parseInt(metadata.LastIndex); if (lastIndex === this.waitIndex) { if(this.config.fireInternalEvents === true){ + //I know this a bit hacky (: this.emit('int:nochange'); } return;