Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryardley/zx-bug
Demonstrate how zx fails to pass on colors and what to do about it
https://github.com/ryardley/zx-bug
Last synced: 10 days ago
JSON representation
Demonstrate how zx fails to pass on colors and what to do about it
- Host: GitHub
- URL: https://github.com/ryardley/zx-bug
- Owner: ryardley
- Created: 2021-05-30T21:30:28.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-05-30T22:20:41.000Z (over 3 years ago)
- Last Synced: 2024-10-26T06:52:48.109Z (about 2 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## `zx` issue with colours
The problem is to do with node not streaming over a TTY. What I have found is the best way to handle it is to change the stdio prop on the spawn options which automatically pipes output to the process.
scripts:
- `yarn bug` - demonstrate the bug
- `yarn fix` - demonstrate a way you might fix it