microsoft / microsoft/lage

[RFC]: "Force Verbose" logging configuration for certain tasks

Open
#634 1 comment 0 reactions 1 assignee View on GitHub

@kenotron is already working on this.

Since Apr 17, 2023.

dev design
Dominant language
TypeScript
Stars
816
Forks
88
PR merge metrics
No merged PRs in 30d

Description

Overview

We have the ability to run commands from our repo root such as yarn start --to demo-app and have Lage handle all the dependencies needed to execute that command. Lage by default "eats" the cli output of all tasks if you didn't run them with --verbose, but tasks such as start which are more "dev facing" may always want to force print to the console to give info to the dev such as the port which was opened.

const pipeline = {
   'start': {
      type: 'npmScript',
      dependsOn: ['^build'],
      verbose: true // Verbose "true" to always let this task print to the terminal. 
    },
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.