Skip to content

Ctrl-C only kill the first process #12

Closed
@alicoding

Description

@alicoding

I'm using parallelshell in npm script right now and it's working great, but the only problem I'm having right now is that when I run three commands using parallelshell and when hit Ctrl-C it will only kill the first process and left the other two running in the foreground.

    "start": "parallelshell \"npm run serve\" \"npm run watch-css\" \"npm run watch-js\"",

Where as doing:

    "start": "npm run serve & npm run watch-css & npm run watch-js",

The above command will kill all three completely when you hit Ctrl-C.

I'm not sure if this is a bug but trying to figure out how to deal with this.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions