Skip to content

node processes are not ended correctly for nightmare #6

Open
@scharf

Description

@scharf

When I use nightmare (with dispatch:mocha) on my system (MacOS 10.12.4) in watch mode, there are lots of processes created.

This is how I start my tests:

TEST_BROWSER_DRIVER=nightmare meteor test --driver-package dispatch:mocha --port 3100

The first run starts an electron process
first-run
The second run starts a new one, but the forked node does not die:

second_run

With phantom, the forked node process dies when phantom dies.

Each time, electron is started a new node subprocess is forked which runs electron. When electron terminates, the node subprocess does not die. Over time, this adds a lot of pressure to the system.

This does not happen with phantomjs, therefore I assume that it may be a problem with this package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions