as mentioned, I tried to use forever to manage some js scripts on my local (MacBook15, system 10.13.3) and server (CentOS 7), but I found that no new files were ever generated.
for example, there is a test.js:
here.console.log("begin test..")
setInterval(()=>{
console.log(Date.now(), ":test point...")
},10000)
then forever start test.js-o test.log
my understanding is that a test.log
log file will be generated in this directory to record console.log
information, but it doesn"t.
so I would like to ask you, is it my wrong understanding of the usage, or is there something wrong with the way I use it?