You are reading a single comment by @Snerkle and its replies. Click here to read the full conversation.
  • I've been working away on what I mentioned in post #10 above, and have the two attached files to offer as a result.

    Its not the tern based stuff but some other additions to the cli that I thought would be helpful.

    These are updates for both:

    I apologise in advance that I haven't got around to doing these a pull-requests on gitHub. I'll get over my laziness soon and start proposing updates that way in future. For now I hope you'll do a diff and choose to integrate the changes if you like them.

    These amount to:

    • serial_nodeserial.js : applies a filter the to available ports and lists only ports that (hopefully) belong to an espruino (based on USB vendorId and productId)
    • localModules.js : implemented the relevant rules for require.resolve() from node so enable a more complete 'require()' experience with with cli.

    If I say so myself, I'm living and loving them both.


    2 Attachments

About

Avatar for Snerkle @Snerkle started