Improve the documentation: explain how to watch files from the command line
See original GitHub issueHello. 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:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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).
Got it! Thanks, removing
cb()
does the trick!