Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task name is mising in logs #332

Open
chyzwar opened this issue Mar 7, 2020 · 3 comments
Open

Task name is mising in logs #332

chyzwar opened this issue Mar 7, 2020 · 3 comments

Comments

@chyzwar
Copy link

chyzwar commented Mar 7, 2020

According to documentation, task name should be visible in the output. https://microsoft.github.io/just/docs/logging

const { task, tscTask, parallel } = require("just-scripts");
const { exec } = require("just-scripts-utils");

task("hello", async() => {
  return exec("echo 'hello'", {
    stderr: process.stderr,
    stdout: process.stdout
  });
});


task("build", tscTask({build: true, watch: true}));
task("start", parallel("build", "hello"));

When running npx just start

13:47:26] ■ started 'start'
[13:47:26] ■ started 'build'
[13:47:26] ■ started 'hello'
[13:47:26] ■ Running /home/raziel/EmailProject/node_modules/typescript/lib/tsc.js with /home/raziel/EmailProject/tsconfig.json
[13:47:26] ■ Executing: "/home/raziel/.nodenv/versions/12.16.0/bin/node" "/home/raziel/EmailProject/node_modules/typescript/lib/tsc.js" --build "/home/raziel/EmailProject/tsconfig.json" --watch
hello
[13:47:26] ■ finished 'hello' in 0.04s

For my use case, name of the task in output is the most important feature.

@github-actions
Copy link

Issue seems to have gone stale.

@chyzwar
Copy link
Author

chyzwar commented Mar 29, 2020

Not really. Either docs are wrong or there is a bug. It does not matter for me as I implemented limited version of just for myself.

@ecraig12345
Copy link
Member

Reopened, sorry. I think the documentation is out of date--I haven't seen output like that recently. @kenotron what do you think--was this a feature you had at some point but removed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants