tweak tail node to use -F (thanks to tip from Mike Smerekov)

pending other changes
This commit is contained in:
Dave C-J
2014-07-08 12:28:02 +01:00
parent 6fb9739245
commit 2c5d5148b8
2 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ module.exports = function(RED) {
var node = this;
var err = "";
var tail = spawn("tail", ["-f", this.filename]);
var tail = spawn("tail", ["-F", this.filename]);
tail.stdout.on("data", function (data) {
var msg = {topic:node.filename};
if (node.split) {