I'm running nodejs (using nodemon) and outputting a ton of stuff to the console for debug.
But when the app is stopped and restarted, the entire historical console log output is re-displayed. How do I clear that?
Doing something like this in the app:
console.log('\x1Bc');
...will clear the current console screen but not the buffered log which re-appears when the app is restarted.