With JMP 17.2.0, I'm trying to monitor the output of a JSL log file from a console — (Mac OS Terminal, in this case). I'm using the tail command with the -f option to live-view the updates whenever the file is written.
$ tail -f log.txt
However, the console output never updates when new text is written to the log. The sample JSL below outputs a line of text every second:
Open Log();
Clear Log();
For( ii=0, ii<10, ii++,
Write( "hello, world " || Char( ii ) || "\!n" );
Save Log( "log.txt" );
Wait( 1 );
);
When I start the script, then run the tail command a few seconds later, I get an expected result:
$ tail -f log.txt
/*:hello, world 0
hello, world 1
hello, world 2
hello, world 3
But subsequent JSL log messages are not picked up by the tail command. If I Ctrl-C out, then re-run tail, I properly get everything output to the log file at that point. But the output never again updates.
Any thoughts as to why this doesn't work? Or is there maybe another way to manage a log file where this would work as expected?