robgonnella / ardi

Ardi is a command-line tool that helps you manage arduino projects!
GNU General Public License v3.0
12 stars 1 forks source link

Fix issues with attach-and-watch command #64

Closed robgonnella closed 3 years ago

robgonnella commented 3 years ago

There were timing issues with pausing the serial port watcher before re-uploading to the arduino board. This addresses those issues by using channels to have better control of when the port if fully closed. Additionally improvements were made to the file watcher logic allowing each listener to run in it's own goroutine.