npm-watch icon indicating copy to clipboard operation
npm-watch copied to clipboard

inherit flag + Jest problem

Open geoffreydhuyvetters opened this issue 8 years ago • 6 comments

When I use Jest with npm-watch and use inherit: true, npm-watch doesn't show me the failed tests.

If I don't set inherit it seems to work but I get no coloring.

Is there a solution to make both work?

thanks in advance :)

geoffreydhuyvetters avatar Nov 11 '16 11:11 geoffreydhuyvetters

I apologize for the late reply. This is related to #23. I would really appreciate it if you could tell me which repo you are having issues on so that I can test it locally. If you can not share it publicly my email is [email protected]

M-Zuber avatar Nov 14 '16 04:11 M-Zuber

https://github.com/duivvv/validate-note

Change inherit to true and cause a failed test (rename one of the errors is the easiest way I guess)

geoffreydhuyvetters avatar Nov 14 '16 07:11 geoffreydhuyvetters

Thank you very much! Hopefully I have found the problem. Will publish and notify you here once I've confirmed

M-Zuber avatar Nov 14 '16 18:11 M-Zuber

nodemon uses child_process, which does not simulate a TTY. This would be a source of some logging issues. We could switch to node-pty.

stevenvachon avatar Aug 29 '17 18:08 stevenvachon

Is that something you would be interested in trying to put together a pull request for?

M-Zuber avatar Aug 29 '17 18:08 M-Zuber

Perhaps, but not sure when.

stevenvachon avatar Aug 29 '17 20:08 stevenvachon