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.
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.