question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

--compact-tasks flag does not work

See original GitHub issue

Before you open this issue, please complete the following tasks:

  • use the search bar at the top of the page to search this repository for similar issues or discussions that have already been opened.
  • if you are looking for help from the gulp team or community, open a discussion.
  • if you think there is a problem with the plugin you’re using, open a discussion.
  • if you think there is a bug in our code, open this issue.

What were you expecting to happen?

npx gulp --help

returns

  --compact-tasks         Reduce the output of task dependency tree by printing 
                          only top tasks and their child tasks.        [boolean]

What actually happened?

npx gulp --compact-tasks

[14:46:35] Requiring external module ts-node/register
[14:46:35] Using gulpfile gulpfile.ts
[14:46:35] Task never defined: default
[14:46:35] To list available tasks, try running: gulp --tasks

Please provide the following information:

  • OS & version [e.g. MacOS Catalina 10.15.4]: Windows 10
  • node version (run node -v): 16.5.0
  • npm version (run npm -v): pnpm 6.10.3
  • gulp version (run gulp -v): CLI version: 2.3.0, Local version: 4.0.2

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
phatedcommented, Jul 27, 2021

Moving this to the CLI repo - @sttk can you investigate?

0reactions
phatedcommented, Aug 4, 2021

As documented:

Reduce the output of task dependency tree by printing only top tasks and their child tasks. This flag can be used with --tasks or --tasks-json.

This seems correct, so I’ll close this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

gulp-cli/README.md at master - GitHub
By default, Gulp does not serialize tasks listed on the command line. ... Some flags only work with gulp 4 and will be...
Read more >
README.md - Leonard
By default, Gulp does not serialize tasks listed on the command line. ... flags.compactTasks | Reduce the output of task dependency tree by...
Read more >
Is it possible to pass a flag to Gulp to have it run tasks in ...
Gulp doesn't offer any kind of util for that, but you can use one of the many command args parsers. I like yargs...
Read more >
gulp-cli - npm Package Health Analysis - Snyk
By default, Gulp does not serialize tasks listed on the command line. ... Some flags only work with gulp 4 and will be...
Read more >
griebnitz/node_modules/gulp-cli - GitLab
By default, Gulp does not serialize tasks listed on the command line. ... Some flags only work with gulp 4 and will be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found