mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
tweak tail node to use -F (thanks to tip from Mike Smerekov)
pending other changes
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user