From 105b25287fae09c69edf136d1098596c04bcbdc3 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Wed, 13 Aug 2014 22:43:15 +0100 Subject: [PATCH] Reverting tail node change to fix build Fixes #337 A useful change but need the corresponding tests to be updated and also properly publicised on the mailing list as it is a change in behaviour. --- nodes/core/storage/28-tail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/core/storage/28-tail.js b/nodes/core/storage/28-tail.js index e241d4a6e..58c2bd06b 100644 --- a/nodes/core/storage/28-tail.js +++ b/nodes/core/storage/28-tail.js @@ -28,7 +28,7 @@ module.exports = function(RED) { var err = ""; // TODO: rewrite to use node-tail - var tail = spawn("tail", ["-F", "-n", "0", this.filename]); + var tail = spawn("tail", ["-F", this.filename]); tail.stdout.on("data", function (data) { if (node.split) { // TODO: allow customisation of the line break - as we do elsewhere