question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is there a way to “inherit” the output of the processes so the color is preserved?

I did this locally and it works, but I’m assuming that’d break something. (didn’t test any further since it works for me)

    // Line:76 watch-package.js
    var proc = processes[script] = spawn(nodemon, args, {
      env: process.env,
      cwd: pkgDir,
      stdio: 'inherit',
    })
    return;
    if (quiet === true || quiet === 'true') {
    ...

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
M-Zubercommented, Aug 10, 2016

Closed with #22 New package is now up @ v0.1.6

0reactions
stevenvachoncommented, May 30, 2017

I can get colors to work if I use "inherit": true, which happens to be what I wanted, but does not solve this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to change the output color of echo in Linux - Stack Overflow
I want to print the text in a red color. How can I do that? linux · bash · command-line · echo ·...
Read more >
Color output in console - ArchWiki
The colors in the Linux virtual console running on the framebuffer can be changed. This is done by writing the escape code \\e]PXRRGGBB...
Read more >
Color Light Output - Wikipedia
Color Light Output (CLO), also known as Color Brightness, is a specification that provides information on a projector's ability to reproduce color.
Read more >
Printing a colored output - Linux Shell Scripting Cookbook
A script can use escape sequences to produce colored text on the terminal. Colors for text are represented by color codes, including, reset...
Read more >
How to change the color of the output in Linux Bash?
Hello, I am working on a Bash script and I wanted to change the color of some of the output to emphasize on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found