Previously, I could do some debugging of scripts using:
myCommandThatGeneratesOutput | subl
It looks like with ST4, I need to be explicit about it expecting input from standard in:
myCommandThatGeneratesOutput | subl -
I’m not sure if that was by choice, or just an unfortunate side effect of some other changes. It would be nice if that were reverted … or at least documented somewhere.
(Mac OS X Catalina, BTW)
edit: I’ll also add that command | subl -
doesn’t always seem to work either. Sometimes it’ll open ST4 with the output as a new document, sometimes it’ll do nothing. It seems to work much more consistently if ST4 isn’t running. If it is running when I try piping output to subl -
I’d say it works about half the time.