Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestions for why parallelshell breaks node-notifier? #1

Open
mikaelbr opened this issue Jan 19, 2017 · 1 comment
Open

Suggestions for why parallelshell breaks node-notifier? #1

mikaelbr opened this issue Jan 19, 2017 · 1 comment

Comments

@mikaelbr
Copy link
Owner

mikaelbr/node-notifier#109

From original Issue:


I've been able to get multiple people on multiple operating systems (OSX and Windows) to reproduce some unexpected behavior with the following package:

{
  "dependencies": {
    "node-notifier": "^4.5.0",
    "parallelshell": "^2.0.0"
  },
  "scripts": {
    "works": "npm run notify",
    "broken": "parallelshell \"npm run notify\"",
    "notify": "notify -t \"Some Title\" -m \"Some Message\" || echo 'failed'"
  }
}

For some reason when notify is called behind something run with parallelshell it will just hang. I'd love to try and figure out how I can get this unstuck but I'm not sure if it is a problem with parallelshell or node-notifier. :( Any ideas?

I've also opened an issue on parallelshel here: darkguy2008/parallelshell#52

@troyblank
Copy link

I also experience this using nodemon, just for the records.

  "dependencies": {
    "node-notifier-cli": "1.1.2",
    "nodemon": "1.17.1"
  },
  "scripts": {
    "works": "npm run notify",
   "broken": "nodemon --exec \"npm run notify\"",
    "notify": "notify -t \"Some Title\" -m \"Some Message\" || echo 'failed'" 
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants