2019-12-05 22:36:59 +01:00
|
|
|
<script type="text/html" data-help-name="tail">
|
2019-12-05 22:18:59 +01:00
|
|
|
<p>Tails (watches for things to be added) to the configured file.</p>
|
|
|
|
<p>Note: On Windows you may need to close the file between writes for any updates to be registered.</p>
|
|
|
|
<h3>Input</h3>
|
|
|
|
<dl class="message-properties">
|
|
|
|
<dt class="optional">filename <span class="property-type">string</span></dt>
|
|
|
|
<dd>If not configured in the node, this optional property sets the name of the file to be tailed.
|
|
|
|
If an empty string <code>""</code> is received, the tailing will stop.</dd>
|
|
|
|
</dl>
|
|
|
|
<h3>Outputs</h3>
|
|
|
|
<ul>
|
|
|
|
<li>Text (UTF-8) files will be returned as strings.</li>
|
|
|
|
<li>Binary files will be returned as Buffer objects.</li>
|
|
|
|
</ul>
|
|
|
|
</script>
|