I've checked here and there's no option that can be passed to the Angular CLI to save logs to a file. I've tried this:
ng build |& tee output.txt
The problem is that the resulting file is crashing my Atom editor and in Geany it's unreadable, because of the characters like [BS], [ESC](their removal messes up formatting and the file is still unreadable).
Could you please share your tricks, good sirs?
Try
ng build &> log.txt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With