Skip to content

Commit 3944f85

Browse files
committed
for some reason, local fails intermittently. this fixes it.
1 parent a6a8711 commit 3944f85

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/local.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ var Tunnel = function Tunnel(key, port, uniqueIdentifier, callback, err) {
5656
if (data.indexOf(runMatcher) >= 0) {
5757
running = true;
5858
logger.debug("[%s] Tunnel launched", new Date());
59-
callback();
59+
setTimeout(function(){
60+
callback();
61+
}, 2000);
6062
}
6163
});
6264

0 commit comments

Comments
 (0)