From 744cd925b34070047b92b34a3cb925c56814fa11 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Thu, 14 Sep 2017 05:06:47 -0500 Subject: [PATCH] Change tail method --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 4bcc648..2a92bc4 100644 --- a/app.js +++ b/app.js @@ -109,7 +109,7 @@ fs.readFile(glass_config.leases_file, 'utf8', function (err,data) { /** * Leases File Listener */ -var tail_module = require('always-tail'); +var tail_module = require('always-tail2'); tail = new tail_module( glass_config.leases_file, "\n", @@ -253,7 +253,7 @@ wss.on('connection', function connection(ws) { if (!listening_to_log_file) { /* Watch log file for new information */ - var tail_module = require('always-tail'); + var tail_module = require('always-tail2'); listening_to_log_file = 1; }