Skip to content

Electron: Chrome disconnects if Node exits.  #4

Description

@jgarzagu

Currently if there is an error, like opening a wrong serial port, node exits. The problem is that when using it with chrome, chrome stops working which can make it hard to debug the program. See image below:

image

A solution to this could be to halt instead of exit or add some code to choose whether to halt or exit.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions