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.

Improve the documentation: explain how to watch files from the command line

See original GitHub issue

Hello. I just did a fresh install on node and gulp.

I’m following the documentation at https://gulpjs.com/docs/en/getting-started/watching-files

The code samples explain how to set up a gulpfile to watch files. Yet, after trying to run gulp, gulp --watch or any other command using the sample gulpfile, I encounter an error:

[15:54:06] Task never defined: default

It would be nice if the site explained how to use the code sample it provides. For newbies like me.

A google search points out on that documentation article as first result, and other tutorials seem to be old, that’s why I find this necessary.

For now I will continue using the gulp-watch npm package.

Thanks.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
phatedcommented, May 4, 2019

@AeonFr The Async Completion guide explains the usage of an error-first callback (if you aren’t able to return a stream, but you are already doing that so you don’t need to use the callback).

0reactions
AeonFrcommented, May 4, 2019

Got it! Thanks, removing cb() does the trick!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Capture a system trace on the command line
Learn about the Systrace tool, which allows you to collect and inspect timing information across all processes running on your device at the ......
Read more >
dotnet watch command - .NET CLI
The dotnet watch command is a file watcher that runs a dotnet command when changes in source code are detected.
Read more >
Document command-line syntax
This page shows how to document command-line commands and their arguments. ... For more information, see Explaining placeholders.
Read more >
Command Line Interface Guidelines
An open-source guide to help you write better command-line programs, taking traditional UNIX principles and updating them for the modern day.
Read more >
Chapter 23. Viewing and Managing Log Files
Log files are files that contain messages about the system, including the kernel, services, and applications running on it. There are different log...
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