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

Output not shown in certain cases #15

Open
ghost opened this issue Mar 22, 2016 · 0 comments
Open

Output not shown in certain cases #15

ghost opened this issue Mar 22, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 22, 2016

I've found two different cases where the output of faucet is mysteriously missing:

  1. webstorm npm integration
    • executing a task through the npm tool window shows other output to stdout but not from faucet
  2. nodemon, example shown below

package.json:

  "scripts": {
    "test": "faucet",
    "test-auto": "nodemon --exec 'npm test'",
    "test-auto2": "fsmonitor -s npm test"
  }

cli:

$ npm test

> test-config@1.0.0 test /Users/user/projects/test-config
> faucet

✓ getGlobalConfig returns default when process.env is not set
# tests 2
# pass  2
✓ ok
$ npm run test-auto

> test-config@1.0.0 test-auto /Users/user/projects/test-config
> nodemon --exec 'npm test'

[nodemon] 1.9.1
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `npm test`

> test-config@1.0.0 test /Users/user/projects/test-config
> faucet

^C
$ npm run test-auto2

> test-config@1.0.0 test-auto2 /Users/user/projects/test-config
> fsmonitor -s npm test


Monitoring:  ~/projects/test-config
    filter:  **/
    action:  npm test

npm test

> test-config@1.0.0 test /Users/user/projects/test-config
> faucet

✓ getGlobalConfig returns default when process.env is not set
# tests 2
# pass  2
✓ ok

......

I initially created an issue with nodemon, but it was suggested that the issue could be with how faucet is detecting the stdout stream.

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

0 participants