Closed RUSHt closed 2 months ago
When I start an app.js using nodemon I get logs to ssh console, this works.
Should ssh drop then on reconnect there are no logs. (it's an EC2 instance).
$ nodemon app.js --logs // ie, restart logging
I've read the docs & can't see how to resume logging.
Peter
nodemon doesn't run in the background in deamon mode - you'll need your own tooling for that. So when you disconnect your ssh connection to ec2, the process stops, and hence so do the logs.
Expected behaviour
When I start an app.js using nodemon I get logs to ssh console, this works.
Actual behaviour
Should ssh drop then on reconnect there are no logs. (it's an EC2 instance).
Desired behaviour
$ nodemon app.js --logs // ie, restart logging
I've read the docs & can't see how to resume logging.
Peter