This repository was archived by the owner on Oct 1, 2024. It is now read-only.
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
Serial monitor auto-reconnect is broken after a build failure #1060
Closed
Description
Usually the serial monitor is disconnected / switched away when compiling/uploading, and then reconnected / switched back after the board is reset. That's a nice feature. On the serial monitor I see this:
[Done] Closed the serial port
[Starting] Opening the serial port - /dev/ttyUSB2
[Info] Opened the serial port - /dev/ttyUSB2
Hello, World.
But if a compile fails, this quick-resume feature is lost. When I fix the compile problem and try again, the serial monitor doesn't start up and I miss the first serial messages from my board.
Oftentimes, the code change I made will show me some status at boot on the serial console, and I'd really like to catch this output on the console without having to manually reset the board to start over.