mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
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.
This commit is contained in:
parent
b3c3bffeaa
commit
105b25287f
@ -28,7 +28,7 @@ module.exports = function(RED) {
|
|||||||
|
|
||||||
var err = "";
|
var err = "";
|
||||||
// TODO: rewrite to use node-tail
|
// 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) {
|
tail.stdout.on("data", function (data) {
|
||||||
if (node.split) {
|
if (node.split) {
|
||||||
// TODO: allow customisation of the line break - as we do elsewhere
|
// TODO: allow customisation of the line break - as we do elsewhere
|
||||||
|
Loading…
Reference in New Issue
Block a user