For some reason, the output of supervisor's spawned processes doesnt make it to the multiview
an example of this can be seen here (marcus13345/vogue) by installing and running the dev script.
The process is spawned and runs (as can be seen by the files it generates, in /coverage), however only the output directly from the supervisor process is output.
this issue also is specific to windows. Tested and working on macos, and I dont have a linux machine to test there.
Edit: I am able to work around the issue by adding the -t flag. which disables interactivity.
in their source, this appears to be the only relevant code, however i am unable to create a small test case, revolving around it.
stdin.setEncoding( 'utf8' );
stdin.on('readable', function() {
var chunk = process.stdin.read();
//
// Restart process when user inputs rs
//
if (chunk !== null && chunk === "rs\n" || chunk === "rs\r\n") {
// process.stdout.write('data: ' + chunk);
crash();
}
});
For some reason, the output of supervisor's spawned processes doesnt make it to the multiview
an example of this can be seen here (marcus13345/vogue) by installing and running the dev script.
The process is spawned and runs (as can be seen by the files it generates, in /coverage), however only the output directly from the supervisor process is output.
this issue also is specific to windows. Tested and working on macos, and I dont have a linux machine to test there.
Edit: I am able to work around the issue by adding the
-tflag. which disables interactivity.in their source, this appears to be the only relevant code, however i am unable to create a small test case, revolving around it.