-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
There are two simple ways of improving deployment with the --lan flag. Currently, if no authorized LAN connection is found, we print something like this:
➜ twit t2 run index.js --lan
INFO Looking for your Tessel...
WARN No Tessel found by the name Tessel-02A3CE19F79B
I think there are two ways we can improve this.
First, if a USB connection is found, we should specify that a LAN connection was not found:
➜ twit t2 run index.js --lan
INFO Looking for your Tessel...
WARN Tessel found by the name Tessel-02A3CE19F79B but no LAN connection is available
Second, (and probably more importantly) is to print out a warning if the LAN connection was found but not authorized:
➜ twit t2 run index.js --lan
INFO Looking for your Tessel...
WARN Tessel found by the name Tessel-02A3CE19F79B but it must be provisioned before deploying over lan (run t2 provision)
Reactions are currently unavailable