Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upoutput is not shown when using through `watch` #21
Comments
This comment has been minimized.
This comment has been minimized.
|
I've just tried with |
This comment has been minimized.
This comment has been minimized.
|
possibly related: piping through standard | grep variable |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
i think it should keep printing to stderr since its normal to do stuff like you can always just run
|
This comment has been minimized.
This comment has been minimized.
|
@mafintosh ah, that makes sense. Didn't know |
This comment has been minimized.
This comment has been minimized.
|
Added a PR that adds the explanation to the FAQ. Pretty sure this is also the reason |
This comment has been minimized.
This comment has been minimized.
|
@yoshuawuyts typing random chars in bash fixes most problems |
This comment has been minimized.
This comment has been minimized.
|
@mafintosh you might've just fixed life itself |
feross
closed this
in
#29
Feb 6, 2015
This comment has been minimized.
This comment has been minimized.
|
I'm observing that the standard behavior is to output to Try it like this: Clone standard.
Make a non–standard JS file.
Run ESLint and JSCS on the non–standard JS file, redirecting
Observe that no output was printed. This means
Try the same with our beloved standard.
So it seems that the standard is to print to |
This comment has been minimized.
This comment has been minimized.
|
Unless, of course, standard experiences an actual error—like bad arguments or not finding its dependencies or something. |
This comment has been minimized.
This comment has been minimized.
|
@mightyiam You make a good point. @maxogden Do you have any thoughts? |
feross
reopened this
Feb 7, 2015
This comment has been minimized.
This comment has been minimized.
|
BTW, I've switched to |
This comment has been minimized.
This comment has been minimized.
|
Going to close this issue as it doesn't seem to be causing trouble for anyone anymore. Feel free to make a new issue or leave a comment if that's not true. |
feross
closed this
Feb 20, 2015
This comment has been minimized.
This comment has been minimized.
|
Since vim-syntastic/syntastic@c1a2098 I have it in my editor so I'm not using If you're not in a hurry to fix it, that's ok but it seems to me that this issue should at least be kept open. |
mightyiam commentedFeb 4, 2015
Thanks for this.
I'm using it as such:
{ "name": "foo", "devDependencies": { "watch": "^0.13.0", "standard": "*", "jasmine": "^2.2.0" }, "scripts": { "watch": "watch 'npm test'", "test": "standard && jasmine" }When I run
$ npm testall is well and as expected.The issue comes when I use
watch, such as$ ./node_modules/.bin/watch 'npm test'or$ npm run watch.The output from
standardis not printed. I know thatstandardruns becausejasmine's output is printed.Do you think that
watchis doing something wrong?