Skip to content

When deploying with --lan, need more information if not possible #410

@johnnyman727

Description

@johnnyman727

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions