Skip to content
This repository was archived by the owner on Jul 8, 2021. It is now read-only.
This repository was archived by the owner on Jul 8, 2021. It is now read-only.

Use streams. #15

@jdalton

Description

@jdalton

Snippets like this:

compiler.stdout.on('data', function(data) {
  return stdout += data;
});
compiler.stderr.on('data', function(data) {
  return stderr += data;
});

could be written to leverage streams. My streams-fu is weak, the shame, but I've seen @cowboy mention it once or twice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions